opticam.fitting.psf_models

Functions

gaussian(shape, x0, y0, theta, amplitude, sigma_major, ...)

Gaussian PSF.

Module Contents

opticam.fitting.psf_models.gaussian(shape, x0, y0, theta, amplitude, sigma_major, sigma_minor)

Gaussian PSF.

Parameters

shapetuple[int, int]

The shape of the array.

x0float

The x location of the PSF maximum.

y0float

The y location of the PSF maximum.

thetafloat

The orientation of the PSF in radians.

amplitudefloat

The amplitude of the peak of the PSF.

sigma_majorfloat

The semi-major standard deviation.

sigma_minorfloat

The semi-minor standard deviation.

Returns

NDArray[np.float64]

The PSF model.

Parameters:
  • shape (tuple[int, int])

  • x0 (float)

  • y0 (float)

  • theta (float)

  • amplitude (float)

  • sigma_major (float)

  • sigma_minor (float)

Return type:

numpy.typing.NDArray[numpy.float64]