Consistent handling of time in light curves
Depending on the routine, the time
member of light curve structs are interpreted differently by different isisscripts functions:
-
read_sixte_lc
treats lc.time like the end time of the bin -
lc_from_events
treats it as the center of the bin -
rebin_lc
treats it as the time at the beginning of the bin
We should go through all light curve routines and make sure that this treatment is uniform, using the convention that internally, we treat lc.time as the beginning of the bin (and all reading routines should use the TIMEPIXR
header key)