ResamplingRenderer#
- class scarlet2.renderer.ResamplingRenderer(model_frame, obs_frame, padding=4)[source]#
Bases:
RendererRenderer to resample image to different pixel grid (subpixel position, resolution, orientation)
Initialize preprocess renderer in multi-resolution mapping
- Parameters:
- get(name=None)#
Get parameter(s) from this module
- Parameters:
name (
str, optional) – Name of parameter. If not set, returns all parameters.- Returns:
requested data arrays for parameters
- Return type:
dict
- property parameters#
Parameters defined for this module
- Returns:
name: (node, param) mapping for all parameters
- Return type:
dict
- set(values)#
Set parameter(s) from this module with values
- Parameters:
values (
dict[str,jnp.array]) – values to replace parameters with, identified by their name- Returns:
new module with parameter(s) replaced by values
- Return type:
Module