PixTableMask

class mpdaf.drs.PixTableMask(filename=None, maskfile=None, maskcol=None, pixtable=None)[source]

Bases: object

PixTableMask class.

This class manages input/output for MUSE pixel mask files

Parameters:

filename : str or None

Name of the FITS table containing the masked column. If a PixTableMask object is loaded from a FITS file, the others parameters are not read but loaded from the FITS file.

maskfile : str or None

Name of the FITS image masking some objects.

maskcol : array of bool or None

pixtable’s column corresponding to the mask

pixtable : str or None

Name of the corresponding pixel table.

Attributes

filename (str) Name of the FITS table containing the masked column.
maskfile (str) Name of the FITS image masking some objects.
maskcol (array of bool) pixtable’s column corresponding to the mask
pixtable (str) Name of the corresponding pixel table.

Methods Summary

write(filename) Save the object in a FITS file.

Methods Documentation

write(filename)[source]

Save the object in a FITS file.

Parameters:

filename : str

The FITS filename.