Closed pdeperio closed 6 years ago
thanks for the update, now it's much more convenient to use.
This file has been manually copied to pax_v6.8.0
environment:
/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pax-6.8.0-py3.4.egg/pax/plugins/interaction_processing/S1AreaFractionTopProbability.py
This file has been manually copied to pax_v6.8.0.1
environment:
/project/lgrandi/anaconda3/envs/pax_v6.8.0.1/lib/python3.4/site-packages/pax-6.8.0.1-py3.4.egg/pax/plugins/interaction_processing/S1AreaFractionTopProbability.py
Factor out S1 AFT probability calculation into
s1_area_fraction_top_probability
function for use also in hax (https://github.com/XENON1T/hax/pull/193) and AC analysis.Required for AC analysis also since manual calculation in lax is being removed (https://github.com/XENON1T/lax/pull/126), which was a 3rd place of outdated code duplication.
(And a bunch of lint fixes.)