NuSTAR / nustar-clock-utils

Utilities for a precise timing calibration of NuSTAR data
3 stars 3 forks source link

Handle low-data GTI #101

Closed hpearnshaw closed 8 months ago

hpearnshaw commented 8 months ago

Occasionally, due to data delivery timing, the most recent GTI will only continue a single data point, which messes up the trend fitting code and throws an error. This is a quick fix that will ignore the GTI if it contains less than two data points (the most recent GTI will be revisited in a subsequent clockfile run anyway, so should not cause any problems).