Hello everyone,
it seems the srctool command the often links the RESPFILE and the ANCRFILE keywords in headers of spectrum files to the response files and ancillary files. It helps to read spectra into the Xspec or other analysis packages more conveniently because the response and the arf command in Xspec can be ignored. However, it also means that these file names could not be changed after running the srctool, which could be inconvineat when processing multiple sources simultaneously. So I wonder whether it is possible to avoid the srctool from autofilling the RESPFILE and the ANCRFILE keywords?
Thanks in advance!
Danielle
How to decouple spectra from response files and ancillary files?
-
- Posts: 4
- Joined: Wed Mar 29, 2023 11:50 am
-
- Posts: 32
- Joined: Mon Jun 28, 2021 7:24 am
Re: How to decouple spectra from response files and ancillary files?
Dear Danielle
This is not possible to do with srctool. However, you can always set your prefix or suffix parameters on the srctool command line to make your filenames unique. You could instead put the outputs into a given directory, e.g. "prefix=tempdir1/myreg_", which could be unique. You're also free to modify the header keywords after running srctool.
Best wishes
Jeremy
This is not possible to do with srctool. However, you can always set your prefix or suffix parameters on the srctool command line to make your filenames unique. You could instead put the outputs into a given directory, e.g. "prefix=tempdir1/myreg_", which could be unique. You're also free to modify the header keywords after running srctool.
Best wishes
Jeremy