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.
The Fits file must contain either RA/Dec or X/Y. If file contains all four columns the RA/Dec will be used to obtain the positions.
If the file contains SIG or SIGX, SIGY, and THETA columns then it is assumed to be the output of a SF FF (Fit File). In this case, lextrct uses the values read from the file. If the file does not contain these parameters, then lextrct calculates them using parameters 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 instead of a source list, then everything will work but N sigma around every photon will be marked bad. This could take a while and will leave you with an empty image.
Note, the last argument is always read as a sigma. Thus
MBad File source.fits 2.5_sec
will be read as 'MBad File source.fits 2.5_sig'.
MB PL p 100 100 p 100 101 p 100 102 -