[AstroPy] pyfits query: how to include a bit mask?
chanley at stsci.edu
Fri Oct 7 14:09:16 CDT 2005
My suggestion depends upon the type of FITS file you are creating. If
you are dealing with FITS images, I would just add another extension to
your FITS file containing the data quality flag values you wish to use.
If you are writing FITS tables you could just add another column with
the desired bit value.
Senior Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
Russell E Owen wrote:
> We're writing fits files with pyfits and would like to include a few bit
> masks (in particular "is saturated" and "ignore this pixel"). We're a
> bit stumped on how to do it and would appreciate any advice.
> -- Russell
> AstroPy mailing list
> AstroPy at scipy.net
More information about the AstroPy