scarlet2.renderer

scarlet2.renderer#

Renderer classes

Classes

ChannelRenderer

ChannelTransformation(model_frame, obs_frame)

Map model to observed channels

ConvolutionRenderer

ConvolutionTransformation(model_frame, obs_frame)

Convolve model with observed PSF

HashableSlice(start, stop[, step])

A slice version that is hashable (for python < 3.12)

LanczosResamplingRenderer

LanczosResamplingTranformation(model_frame, ...)

Renderer to resample image to different pixel grid with a Lanczos kernel.

Renderer(layers)

Renderer base class

ResamplingRenderer

ResamplingTransformation(model_frame, obs_frame)

Renderer to resample image to different pixel grid (subpixel position, resolution, orientation)

SpatialTrimTransformation(model_frame, obs_frame)

Extract cutout the observation box from the model frame box

Transformation()

Transformation base class

TrimSpatialBox