FitsMaskedImageFormatter#

class lsst.obs.base.formatters.fitsExposure.FitsMaskedImageFormatter(file_descriptor: FileDescriptor, *, ref: DatasetRef, write_parameters: Mapping[str, Any] | None = None, write_recipes: Mapping[str, Any] | None = None, **kwargs: Any)#

Bases: StandardFitsImageFormatterBase

Concrete formatter for reading/writing MaskedImage from/to FITS.

Methods Summary

readComponent(component)

Read a component dataset.

Methods Documentation

readComponent(component)#

Read a component dataset.

Parameters#

componentstr, optional

Component to read from the file.

Returns#

objcomponent-dependent

In-memory component object.

Raises#

KeyError

Raised if the requested component cannot be handled.