justincely / lightcurve

Turn time-tag spectral data into lightcurves
http://hstlightcurve.readthedocs.io
Other
10 stars 7 forks source link

time aliasing in COS extraction #14

Open justincely opened 10 years ago

justincely commented 10 years ago

binning in time using increments of 32 ms leads to the introduction of additional count-rate variability as the floating point values aren't in even increments.

stepsize_difference

justincely commented 9 years ago
  1. offset bin centers by .016
  2. round times to 3,4 decimals and convert to double from float
  3. re-count in 32ms bins up to the EXPTIME to get rid of cumulative lower precision error.

Test correction by plotting expected poisson noise in high count-rate target vs observed noise as a function of stepsize.