LsstObservation¶
- 
class 
lsst.meas.extensions.scarlet.LsstObservation(images, psfs=None, weights=None, wcs=None, channels=None, padding=10)¶ Bases:
scarlet.observation.ObservationMethods Summary
get_loss(model)Computes the loss/fidelity of a given model wrt to the observation match(model_frame)Match the frame of Blendto 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
Blendto 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.Frameinstance - The frame of 
Blendto match 
Returns: - None
 
- model_frame: a 
 
- 
render(model)¶ Convolve a model to the observation frame
Parameters: - model: array
 The model from
Blend
Returns: - image_model: array
 modelmapped into the observation frame
-