pixl_criteria (version 2.0)

You can also look at:
This script generates the screening criteria for the SIS Sn_PIXLm parameter for a given event file. It does this by first selecting all the records in the filter file which are included in the GTIs of the event file. It then further selects filter file records with the following screening criteria:
SAA==0 &&
COR>6 &&
FOV==0 &&
BR_EARTH>20 &&
ELV>10 &&
ACS==0 &&
ANG_DIST<.01 &&
(T_DY_NT<0 || T_DY_NT)>64 &&
(T_SAA<0 || T_SAA>64) &&
Sn_SATFm==0 &&
Sn_PIXLm>0
The script then calculates the mean and standard deviation of the Sn_PIXLm values in the selected records and sets the criteria to be within 3 sigma of the mean and greater than zero. This is done for all active chips. For a given chip, more than 3 rows must survive the screening process otherwise no screening criterion is generated for that chip except, Sn_PIXLm > 0.

FTOOLS called:

  1. fselect
  2. fstatistic

STOOLS called:

  1. gtiselect

Utility scripts called:

  1. ftool_test
  2. log_entry
  3. read_fits_keyword
  4. read_parfile
  5. setup_parfile
  6. stool_test