Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do we want to return the fluxError vector? #9

Open
DougBurke opened this issue Sep 19, 2021 · 1 comment
Open

Do we want to return the fluxError vector? #9

DougBurke opened this issue Sep 19, 2021 · 1 comment

Comments

@DougBurke
Copy link
Member

In Sherpa we ignore the fluxError component, but we should probably support it for the small (?) number of models that use it.

It would complicate things - e.g. maybe we'd want to return some form of named, or structured, tuple?

@DougBurke
Copy link
Member Author

DougBurke commented Sep 20, 2021

HEASOFT 6.29 / XSPEC 12.12.0 only has two models with flag values that are not 0 and they are

smaug
pileup

both of whih have flags of [0, 1] - ie they do not use fluxErrors but can not be easily cached

So it's only for usermodels.

% egrep 'pileup|smaug' ~/local/heasoft-6.29/spectral/manager/model.dat
smaug         22   0.0E+00    1.0E+20        c_xsmaug    add 0  1
pileup         7  0.001      1.0e20          C_pileup    acn 0  1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant