ixpecalcarf.py evtfile attfiles [radius] [specfile] [arfout] [resptype] [weight] [detfilter] [ox] [oy]
[vignfile] [reeffile] [uvfilt] [grfilt] [modfact] [qefile] [axeffa]
[arfin] [clobber]
ixpecalcarf.py evtfile regfile pmapfile [specfile] [arfout] [resptype] [weight] [detfilter]
[vignfile] [reeffile] [uvfilt] [grfilt] [modfact] [qefile] [axeffa]
[arfin] [clobber]
ixpecalcarf.py evtfile offarcmin [radius] [specfile] [arfout] [resptype] [weight] [detfilter]
[vignfile] [reeffile] [uvfilt] [grfilt] [modfact] [qefile] [axeffa]
[arfin] [clobber]
evtfile.
The response file type, MRF or ARF, is determined by the resptype parameter or from
keywords in the file given by specfile.
The transmission of the optional GRAY filter can be included by setting the detfilter parameter to 1.
The weighting scheme is assigned by setting the weight parameter.
The instrument response file is written to the value of arfout, if present, or to a file with a name
determined from resptype and specfile or evtfile.
If specfile is given, then the ANCRFILE keyword value in that file is updated to the name of this new
instrument response file.
attfiles, and encircled energy fraction (EEF) due to the finite source extraction
radius by specifying either radius or regfile.
These corrections are based on the vignetting and EEF CALDB files and
an exposure-weighted distribution of off-axis angle values.
offarcmin parameter. The on-axis instrument response is obtained by setting offarcmin=0.
attfiles parameter to calculate the off-axis angle distributions due to vignetting.
In this case, an optional offset from the optical axis
can be specified with the ox and oy parameters.
regfile parameter value to calculate the off-axis angle distribution using the pointing map values within the ds9 regions defined by regfile. The pointing map is specified by pmapfile,
which is the output of a separate IXPE FTOOLS task, ixpeexpmap.
A valid pmapfile parameter value must exist if regfile is given.
radius in arcminute) or a
regfile with only one circular region. For the EEF
corrections, ixpecalcarf uses
the same off-axis angle distribution with the radial EEF file from CALDB
to create an EEF correction vs. energy array.
Though rarely invoked, the user has the option to manually specify calibration files used by
ixpecalcarf, including the transmission of the detector UV filter
(uvfilt), transmission of the GRAY filter (grfilt),
the detector modulation factor if calculating polarization response (modfact),
the detector quantum efficiency (qefile),
and the mirror axial effective area (axeffa). Vignetting and EEF can also be manually specified
by vignfile and reeffile, respectively.
regfile is provided or offarcmin >= 0, but required if offarcmin < 0. (default: none)
pmapfile. (none or path name, default: none)
ixpeexpmap tool). Used along with regfile
to calculate the off-axis observing angle distribution for a source region.
Overrides radius, ox, oy, offarcmin. (none or path name, default: none)
resptype.
If not specified, ixpecalcarf will save the output file automatically using the filename from evtfile
or specfile with a different extension specified by resptype.
specfile generated from xselect, and ixpecalcarf
will save the output response file to the same name as specfile except for the file extension (arf for the I spectrum,
mrf for the Q or U spectrum). The ANCRFILE keywords in specfile will be updated accordingly by ixpecacarf.
ixpecalcarf evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="./hk/ixpe02001001_det1_att_v01.fits.gz,./hk/ixpe02001002_det1_att_v01.fits.gz" radius=1.0
specfile="ixpe02001099_DU1I.pi" clobber=yes regfile=none pmapfile=none
ixpecalcarf evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="./hk/ixpe02001001_det1_att_v01.fits.gz,./hk/ixpe02001002_det1_att_v01.fits.gz" radius=1.0
specfile="ixpe02001099_DU1Q.pi" clobber=yes regfile=none pmapfile=none
ixpecalcarf evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="./hk/ixpe02001001_det1_att_v01.fits.gz,./hk/ixpe02001002_det1_att_v01.fits.gz" radius=1.0
specfile="ixpe02001099_DU1U.pi" clobber=yes regfile=none pmapfile=none
ixpecalcarf
evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="none" specfile="ixpe02001099_DU1I.pi" clobber=yes
regfile="02001099_circular.reg"
pmapfile=./hk/ixpe02001001_det1_pntmap.fits
ixpecalcarf
evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="none" specfile="ixpe02001099_DU1Q.pi" clobber=yes
regfile="02001099_circular.reg"
pmapfile=./hk/ixpe02001001_det1_pntmap.fits
ixpecalcarf
evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="none" specfile="ixpe02001099_DU1U.pi" clobber=yes
regfile="02001099_circular.reg"
pmapfile=./hk/ixpe02001001_det1_pntmap.fits
ixpecalcarf
evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="none" specfile="ixpe02001099_DU1U.pi" clobber=yes
regfile="02001099_polygon.reg"
pmapfile=./hk/ixpe02001001_det1_pntmap.fits
ixpecalcarf evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="none" specfile="ixpe02001099_DU1U.pi" clobber=yes regfile=none pmapfile=none offarcmin=2.0
ixpeobssim. arfin.
ixpecalcarf
evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="./hk/ixpe02001001_det1_att_v01.fits.gz,./hk/
ixpe02001002_det1_att_v01.fits.gz" radius=1.0
specfile=none arfin=ixpe_obssim_02001099_DU1.arf
arfout=ixpe_obssim_02001099_DU1.arf clobber=yes regfile=none
pmapfile=none
specfile.
ixpecalcarf evtfile=./event_l2/ixpe02001099_det1_evt2_v02.fits
attfiles="./hk/ixpe02001001_det1_att_v01.fits.gz,./hk/ixpe02001002_det1_att_v01.fits.gz" radius=1.0
specfile=ixpe_obssim_02001099_DU1.pha clobber=yes regfile=none pmapfile=none