SNEWS2 / snewpdag

SNEWS2 alert calculations
BSD 3-Clause "New" or "Revised" License
1 stars 13 forks source link

CM2022 changes, mainly timestamps #82

Closed tsengj10 closed 1 year ago

tsengj10 commented 2 years ago

Changes from CM2022 discussions.

Mostly the attempt was to replace the old (s,ns) timestamps with simpler ns timestamps counting from the Unix epoch.

TSeries and THist are meant to replace TimeSeries and TimeHist, which have been left in place for now, though removed from the module initializer. One change is that you can use astropy units to specify the time basis, or override/specify that with the unit argument.

tsengj10 commented 1 year ago

Decided to go with float timestamps, in a local "snewpdag epoch". This PR superseded by #83.