Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add first draft of LightCurve model class #1367
This PR adds a first draft of a LightCurve model class.
The scope / timescale here is very limited. It's just to add something to help compute mean per-run fluxes for the LC for this CTA DC-1 check, which is needed ASAP:
I've left "TODO" comments in the docstrings about things we need to discuss / improve.
@bkhelifi @cboisson @jlenain @labsaha - If one of you has suggestions on this today, let me know and I'll implement them tonight. Otherwise I'll just merge this in as a very preliminary first version, and we can discuss and improve it in the coming weeks.
I've added an example how to use this class for the 1DC check here:
@bkhelifi @cboisson - Can you please compare to the fluxes you find in the Gammapy analysis there, and adjust the energy band for the model flux computation to whatever you use in the Gammapy analysis?