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

Chandra grating data not read? #141

Open
emschlegel opened this issue Nov 9, 2024 · 1 comment
Open

Chandra grating data not read? #141

emschlegel opened this issue Nov 9, 2024 · 1 comment

Comments

@emschlegel
Copy link

Chandra grating data are written as pha2 files -- all grating orders in a single FITS file. SpectralFitting can not read that file. If one splits the pha2 file into separate FITS files (one order per file), SpectralFitting can read the result.

file contains SpectralFitting reaction.

HETG_pha2_read_error.txt

@phajy
Copy link
Contributor

phajy commented Nov 10, 2024

SpectralFitting doesn't currently support Type II PHA files but we should add this support. More information about Type II PHA files with Chandra gratings data can be found here. Note that there are additional keywords with gratings data related to the grating (HEG, MEG, LEG, ...) and diffraction order. There are also two backgrounds, an "up" and "down" background taken from either side of the dispersed spectrum. More details of the background and background scaling keywords can be found here.

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

2 participants