You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a way to apply the livetime correction to CompressedPixelData and Spectrogram data products. For example, we want to correct for it before a simple plot.
The text was updated successfully, but these errors were encountered:
hayesla
changed the title
Apply functionality to apply livetime correction to plot_timeseries etc.
Apply functionality to apply livetime correction to science products
Jan 15, 2025
I'm not really happy with the get_data method but not sure what to replace it with inside maybe a NDCube now which could make things easier but need to prototype it so should hold up adding it.
It would be nice to have a way to apply the livetime correction to
CompressedPixelData
andSpectrogram
data products. For example, we want to correct for it before a simple plot.It looks like this is done for the quicklook data, but would need to be implemented for science data products. I imagine its just using
get_livetime_fraction
? https://github.com/TCDSolar/stixpy/blob/main/stixpy/calibration/livetime.py#L96I guess it would also make sense for it to be in
.get_data()
stixpy/stixpy/product/sources/science.py
Line 539 in 95c342b
Any thoughts @samaloney ?
The text was updated successfully, but these errors were encountered: