FXTSoft v2.0 documentation
fxtarfmerge help
Command help for fxtarfmerge in the FXTSoft v2.0 release.
NAME
fxtarfmerge -- Merge multiple EP/FXT ARF response filesUSAGE
fxtarfmerge arffiles=@arf.lst outfile=merged.arf specfiles=@pha.lst fxtarfmerge arffiles=@arf.lst outfile=merged.arf weightmode=equal fxtarfmerge arffiles=@arf.lst outfile=merged.arf weightmode=exposure specfiles=@pha.lst fxtarfmerge arffiles=@arf.lst outfile=merged.arf weightmode=coverage specfiles=@pha.lst fxtarfmerge arffiles=@arf_weights.lst outfile=merged.arf weightmode=weights
DESCRIPTION
fxtarfmerge combines compatible EP/FXT ARF files by applying one scalar
weight to the SPECRESP column of each input file. The default
weightmode=exposure reads EXPOSURE from the matching PHA
files in the same order as the ARFs and normalizes those values before merging.
When the input exposures differ, the command records a warning and the
exposure-weighted result is intentional. Set weightmode=equal
explicitly when equal weighting is scientifically intended; that mode does not
require specfiles. The input ARFs must
share the same physical ENERG_LO and ENERG_HI grid. Energy units
are converted to keV and effective-area units to cm**2; files without these column
units use those same defaults for compatibility. Non-finite, reversed, or unordered
grids and effective areas are rejected. The merged output is written as an OGIP-style
SPECRESP table with checksums through an atomic output transaction.
Learned PFILES values remain effective for parameters that are not supplied
on the command line. If a local PFILES entry already stores
weightmode=equal, that explicit learned choice is retained; pass
weightmode=exposure to request exposure weighting explicitly.
Input ARFs must have matching telescope, instrument, detector, filter, data mode and grade selection when declared. Partially missing identity metadata is rejected. Cross-detector spectrum and response coaddition is available through the explicit fxtspecmerge sumtype=AREA workflow.
PARAMETER SUMMARY
| Parameter | Default / values | Summary |
|---|---|---|
arffiles | required | Input ARF files, comma-separated or @listfile |
outfile | required | Output merged ARF file |
weightmode | exposure | Weight mode: exposure (default), equal, coverage, or weights |
weights | required for weightmode=weights unless arffiles list has two columns | Weights, comma-separated or @listfile |
specfiles | required by default and for weightmode=exposure or coverage | Input PHA files, in the same order as arffiles, used for exposure or coverage weights |
clobber | yes | Overwrite existing output file (yes/no) |
verbose | 1 | Logging verbosity: 0=warning/error, 1=normal info, 2=debug |
mode | ql | Query/learn mode |
PARAMETERS
- arffiles [string]
- Input ARF files, comma-separated or provided through an
@listfile. Forweightmode=weights, an@listfilemay contain two columns: file name and weight. - outfile [file name]
- Name of the merged ARF output file.
- (weightmode=exposure) [string]
- Weighting method:
exposure(default),equal,coverage, orweights. The default exposure mode requiresspecfiles; useweightmode=equalexplicitly for an unweighted merge. - (weights=NONE) [string]
- Explicit weights, comma-separated or provided through an
@listfile. This parameter is required whenweightmode=weightsunless thearffiles@listfilecontains two columns: file name and weight. - (specfiles=NONE) [string]
- Input PHA spectra, listed in the same order as
arffiles, used to read and normalizeEXPOSUREweights or source-valid coverage weights fromSRCGTI,GTI, orCOVERAGE. GTI andCOVERAGE.DTvalues are converted to seconds and overlapping GTI intervals are counted once. This parameter is required whenweightmode=exposureorweightmode=coverage. - (clobber=yes) [boolean]
- Overwrite an existing output file.
EXAMPLES
fxtarfmerge arffiles=@arf.lst outfile=merged.arf specfiles=@pha.lst fxtarfmerge arffiles=@arf.lst outfile=merged.arf weightmode=equal fxtarfmerge arffiles=@arf.lst outfile=merged.arf weightmode=exposure specfiles=@pha.lst fxtarfmerge arffiles=@arf.lst outfile=merged.arf weightmode=coverage specfiles=@pha.lst fxtarfmerge arffiles=@arf_weights.lst outfile=merged.arf weightmode=weights
Manual page updated
2026-11-04