GaussianPSF#

class scarlet2.GaussianPSF(sigma)[source]#

Bases: PSF

Gaussian-shaped PSF

Initialize Gaussian PSF

Parameters:

sigma (float) – Standard deviation of Gaussian

__call__()[source]#

What to run when the Gaussian PSF is called

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

morphology: GaussianMorphology#

Morphology model

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

property shape#

Shape of the PSF model