matteolucchini1 / nDspec

A modular X-ray spectral-timing astronomy modelling package
MIT License
2 stars 0 forks source link

Header check is wrong for non NICER responses #1

Open matteolucchini1 opened 7 months ago

matteolucchini1 commented 7 months ago

When checking if "SPECRESP MATRIX" is in the header, the array is wrong: "elif "SPECRESP MATRIX" in extnames:" should be test_extnames.

In general do a better job of ensuring rmf or rmf+arf formats.

matteolucchini1 commented 3 months ago

So this is extra weird because some rmf files can have the arf in them, and still have the same format. The easiest fix is to check if we're loading a .rmf or .rsp file along with the extnames flag.