EHN: sum instead of integrate for line intensity
ENH: doc and test
Automatic style corrections courtesy of autopep8
Merge pull request #205 from pburdet/ENH_integrate_vs_sum

EHN: sum instead of integrate for line intensity