gamma-astro-data-formats icon indicating copy to clipboard operation
gamma-astro-data-formats copied to clipboard

Require that events are ordered in time?

Open cdeil opened this issue 6 years ago • 1 comments

Should we require that IACT DL3 FITS events are ordered in time?

In Gammapy, there's a few things now using event times (e.g. exptest or an adaptive light curve binning method), and we need to either assume they arrive ordered in the DL3 files, or need to sort in those cases on input.

As far as I can see, the GUIDELINES FOR DEFINING FITS FORMATS FOR EVENT LISTS don't require events to be ordered chronologically, they just say this:

The detailed format of a given Event Lists is considered instrument-specific, and the order in which the events are listed application-specific.

@registerrier or anyone - do you know if any missions release EVENTS that are not ordered chronologically?

@woodmd - what does Fermi-LAT do? Are events always ordered chronologically or are files in use where this is not the case?

@jknodlseder - do you assume time ordered in ctools or sort on input if this is needed by some method?

@kosack or @cboisson - are there any thoughts / requirements on this in CTA already?


I would suggest we gather this information here, and everyone says what they prefer, and then we improve the spec to either add the requirement or a comment that time ordering is not required and why cases are allowed where events aren't sorted chronologically.

cdeil avatar May 07 '18 09:05 cdeil