MBad
This command will set data values in the current image (map) to be
NO data flags. Thus commands that operate on the current map (such
as RCP, IP, Stat) will no longer use this pixel values. Commands
that cause the data to re-read (such ad XTimg, Xhisto, etc.) are not
affected by the MBad commad.
MBad is useful for deleting bad pixel values from further data analysis.
Thus MBad Bo Inner can eliminate individual sources (stars) whereas
MBad Bo Outer can get rid of a background near the edge of the detector.
Bounds
Uses the current bounds to mark map pixels as bad. You must specify
either Inner or Outer to denote if pixels inside the bounds (Inner)
or outside (Outer) are to be flagged.
Column
Mark an entire column as bad.
File
MBad File source.fits 2.5_sig
The FITS file must contain X and Y columns which will be used as source
locations. If the file contains a PSF_SIG column then the column will
be used otherwise lextrct calculates a sigma using the values from the
SET PSF command. The final number is the number of sigma to mark bad
(and only sigma is allowed). Thus for 2.5_sig circular regions out to
two times the psf_sig will be marked bad for every source in the file.
Warning, if you accidently use an events file, then everything will
work but N sigma around every photon will be marked bad. This could
take a while and will likely leave you with an empty image.
Lower
Using the lower threshold, mark all pixels with data values below
this as bad.
Pixel
Mark a single pixel as bad.
PList
This is similar to the MBad Pixel, except after a pixel is marked
you are prompted for another pixel. To get out of the loop you should
enter a - (minus sign) for the location (instead of the P, C or W).
It is much faster to run MBad PList with 100 pixels than it is to
run MBad Pixel 100 times.
MB PL
p 100 100
p 100 101
p 100 102
-
Row
Mark an entire row as bad
Upper
Using the upper theshold, mark all pixels with data values above
this as bad.
Return to lextrct main page.