abstract_coronograph#

class arte.optical_propagation.abstract_coronograph.Coronograph#

Bases: object

Abstract class to simulate coronographic PSFs

Methods

get_coronographic_psf(input_field, oversampling)

Function to obtain the post-coronographic PSF.

show_coronograph_prop([maxLogPsf])

Simple function to show the EF propagation through the coronograph

showZoomedPSF

get_coronographic_psf(input_field, oversampling: int, lambdaInM: float = None)#

Function to obtain the post-coronographic PSF.

Parameters:
  • input_field (numpy.ndarray(complex) [N,N]) – Array of complex values representing the pupil-plane electric field upstream the coronograph. - Real part: electric field amplitude - Imaginary part: electric field phase in RADIANS

  • oversampling (int) – Integer for the number of pixels to consider for each lambda/D.

  • lambdaInM (float (None)) – Wavelength in meters at which the PSF is evaluated. This must be the same as the wavelength at which the input_field phase was computed. Default is None and the coronograph uses it reference wavelength: i.e. we assume that the coronograph was optimized for the wavelength at which the input field is given.

Returns:

psf – The array representing the (padded) PSF. Each pixel in the array corresponds to oversampling lambda/D

Return type:

numpy.ndarray(float) [N*oversampling,N*oversampling]

static showZoomedPSF(image, pixelSize, maxLogVal=None, title='', xlabel='$\\lambda/D$', ylabel='$\\lambda/D$', zlabel='')#
show_coronograph_prop(maxLogPsf=None)#

Simple function to show the EF propagation through the coronograph