EHN: sum instead of integrate for line intensity

When calling ``get_lines_intensity``, the obtained result is the number of X-rays that is given by ``sum()`` (different from ``integrate()``).