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 ECPL model, energy flux and integration methods #641
This PR adds an ECPL model, energy flux and integration methods to
I've changed the latex formulae to be consistent with the HGPS paper. I.e using
@joleroi Is there an ECPL model in sherpa that could be used in
For Sherpa models, we should just do what @zblz started here (https://github.com/zblz/naima/blob/master/naima/sherpa_models.py#L74) and define our own Sherpa models. Yes, a few of the ones we want are built-in, but they don't have the same parameter names and sometimes not the same parametrisation.
So just putting our own seems easiest to me.
@cdeil Thanks! I've addressed your comments.
Concerning the sherpa models: I just had a quick look at the spectral models in sherpa and couldn't find an exponential cut off (except as xspec model, but with different parametrization and only available when xspec is installed...). For now I'll leave the