added pulseintegrals

added _process_pulseintegrals to calculate n for every detector from
pulseintegrals