scopesim.detector.detector.Detector#

class scopesim.detector.detector.Detector(header, cmds=None, **kwargs)#

Bases: object

__init__(header, cmds=None, **kwargs)#

Methods

__init__(header[, cmds])

extract_from(image_plane[, spline_order, reset])

Extract HDU from ImagePlane object and add to internal HDU.

reset()

Reset internal HDU data to all-zeros-array.

Attributes

data

Return data from internal HDU.

hdu

Return internal HDU.

header

Return header from internal HDU.

image

Return data from internal HDU.

property data#

Return data from internal HDU.

extract_from(image_plane, spline_order=1, reset=True)#

Extract HDU from ImagePlane object and add to internal HDU.

property hdu#

Return internal HDU.

property header#

Return header from internal HDU.

property image#

Return data from internal HDU.

reset()#

Reset internal HDU data to all-zeros-array.