LsstObservation

class lsst.meas.extensions.scarlet.LsstObservation(images, psfs=None, weights=None, wcs=None, channels=None, padding=10)

Bases: scarlet.observation.Observation

Methods Summary

get_loss(model)

Computes the loss/fidelity of a given model wrt to the observation

match(model_frame)

Match the frame of Blend to the frame of this observation.

render(model)

Convolve a model to the observation frame

Methods Documentation

get_loss(model)

Computes the loss/fidelity of a given model wrt to the observation

Parameters
model: array

The model from Blend

Returns
result: array

Scalar tensor with the likelihood of the model given the image data

match(model_frame)

Match the frame of Blend to the frame of this observation.

The method sets up the mappings in spectral and spatial coordinates, which includes a spatial selection, computing PSF difference kernels and filter transformations.

model_frame: a scarlet.Frame instance

The frame of Blend to match

Returns
None
render(model)

Convolve a model to the observation frame

Parameters
model: array

The model from Blend

Returns
model_: array

The convolved model in the observation frame