astrowisp.fake_image.bipolynomial_psf_piece module

Class Inheritance Diagram

Inheritance diagram of BipolynomialPSFPiece, PSFPiece

Define the BipolynomialPSFPiece class.

class astrowisp.fake_image.bipolynomial_psf_piece.BipolynomialPSFPiece(coefficients)[source]

Bases: PSFPiece

Inheritance diagram of astrowisp.fake_image.bipolynomial_psf_piece.BipolynomialPSFPiece

Class for PSF pieces over which the PSF is a bi-polynomial function.

__call__(x, y)[source]

Evaluate the bi-cubic polynomial at the given position.

__init__(coefficients)[source]

Initialize a bi-cubic PSF piece with a set of coefficients.

Parameters:

coefficients – The bi-cubic polynomial coefficients. Should be a two-index structure with the first index beige y power of the term and the second index the x-power.

Returns:

None

integrate(left, bottom, width, height)[source]

See documentation of PSFPiece.integrate.