scopesim.effects.metis_wcu.fpmask.FPMask

scopesim.effects.metis_wcu.fpmask.FPMask#

class scopesim.effects.metis_wcu.fpmask.FPMask(maskname: Path | str | None = None, fpmask_filename_format: str | None = None, angle: float = 0, shift: tuple[float, float] = (0.0, 0.0), **kwargs)#

Bases: object

Focal-plane mask for the METIS WCU.

:param See DataContainer for input parameters: :param .. versionadded:: 0.9.2:

__init__(maskname: Path | str | None = None, fpmask_filename_format: str | None = None, angle: float = 0, shift: tuple[float, float] = (0.0, 0.0), **kwargs)#

Methods

__init__([maskname, fpmask_filename_format, ...])

make_hdus(header)

Create an hdu for the holes in fpmask.

plot()

Plot the location of the holes.

Attributes

hdr

make_hdus(header)#

Create an hdu for the holes in fpmask.

The holes are assumed to be unresolved. They therefore cover one pixel and have a value corresponding to the actual solid angle covered by the hole.

plot()#

Plot the location of the holes.