EP-FXT Science Data Center / Users Guide v2.0 · 2026-11-04

FXTSoft v2.0 documentation

fxtbadpix help

Command help for fxtbadpix in the FXTSoft v2.0 release.

← Back to Command Reference

NAME

fxtbadpix -- Flag events for bad pixels in FXT event files

USAGE

fxtbadpix evtfile outfile

DESCRIPTION

This program flags events occurring on detector bad pixels in FXT. It accepts three input files that identify bad pixels: an on-ground bad-pixel calibration file containing the latest information about known stable bad pixels; a Disabled Pixel File listing pixels disabled by on-board processing for the current observation; and a user-supplied Bad Pixel File in the same format as the on-ground CALDB bad-pixel file. The STATUS column records the flagging quality, including whether an event falls on a stable bad pixel from the on-ground CALDB file or on an on-board-disabled pixel.

PARAMETERS

evtfile [file name]
Name of the input event FITS file.

outfile [file name]
Name of output event FITS file. The value 'NONE' will cause the input file to be overwritten.

groundbpfile [file name]
Name of the input BADPIX file or CALDB or NONE for none (DEFAULT=CALDB).

boardbpfile [file name]
Name of the input on-board BADPIX file or CALDB or NONE for none (DEFAULT=CALDB).

userbpfile [file name]
Name of the user BADPIX file or NONE for none (DEFAULT=NONE)

outbpfile [file name]
Name of the output Bad Pixel file or DEFAULT to use standard name or NONE for none (DEFAULT=NONE).

(history=yes) [boolean]
If set to yes, write parameter values and other information in HISTORY blocks (DEFAULT=yes).

(clobber) [boolean]
If 'clobber'=yes and outfile=filename, the file with the same name will be overwritten, if it exists (DEFAULT=yes).

(chatter) [integer]
Chatter Level (min=0, max=5) (DEFAULT=1).

EXAMPLES

  1. general usage

     >fxtbadpix evtfile=13600000039/fxt/event/fxt_a_13600000039_ff_00_po_uf_evt_1ba.fits outfile=bad.fits

  2. three hidden parameters

     >fxtbadpix evtfile=13600000039/fxt/event/fxt_a_13600000039_ff_00_po_uf_evt_1ba.fits outfile=bad.fits groundbpfile=CALDB boardbpfile=CALDB userbpfile=NONE

    the parameters of groundbpfile, boardbpfile and userbpfile indicate the bad pixel files (FITS format) from ground test, on-board and users, respectively.

  3. users can obtain a output bad pixel file by setting outbpfile parameter

     >fxtbadpix evtfile= 13600000039/fxt/event/fxt_a_13600000039_ff_00_po_uf_evt_1ba.fits outfile=bad.fits outbpfile=bp.fits

BUGS

SEE ALSO

Manual page updated

2026-11-04