ktindiana / fetchsep

Identify SEP elevations above background in a time series (idsep) and analyze events individually (opsep)
MIT License
2 stars 2 forks source link

Bug with get_fluence_spectrum when thresholds applied to differential bins #8

Closed ktindiana closed 1 year ago

ktindiana commented 1 year ago

The experiment variable is not passed to append_differential_thresholds() in opsep.py, which causes get_fluence_spectrum() to fail because it needs this variable as input.

ktindiana commented 1 year ago

This small bug was fixed by passing the needed fields (experiments and flux_types) to append_differential_thresholds.