poppy_eelt_psf

simcado.psf.poppy_eelt_psf(plan='A', wavelength=2.2, mode='wide', size=1024, segments=None, filename=None, use_pupil_mask=True, **kwargs)[source]

Generate a PSF for the E-ELT for plan A or B with POPPY

Parameters
planstr, optional

[“A”, “B”], Default = “A” * Plan A is for a fully populated mirror (798 segments) * Plan B has the inner 5 rings missing (588 segments) and a further 5 random segments missing (583 segments)

wavelengthfloat, list, array, optional

[um] Default = 2.2um. The wavelength(s) for which a PSF should be made

modestr, optional

[“wide”, “zoom”] Default = “wide”. Sets the pixel size for each of the MICADO imaging modes - {“wide” : 4mas, “zoom” : 1.5mas}

sizeint, optional

[pixels] Default = 1024

segmentslist, optional

Default = None. A list of which segments to use for generating the E-ELT mirror. See get_eelt_segments()

filenamestr, optional

Default = None. If filename is not None, the resulting FITS object will be saved to disk

use_pupil_maskstr, optional

Default = True.

Returns
``astropy.HDUList``an astropy FITS object with the PSF in the data
extensions
Other Parameters
Values to pass to the POPPY functions
flattoflatfloat

[m] Default : 1.256

gapfloat

[m] Default : 0.004

secondary_radiusfloat

[m] Default : 5

n_supportsint

Default : 6

support_widthfloat

[m] Default : 0.2

support_angle_offsetfloat

[deg] Default : 0

n_missingint

Default : None. Number of segments missing

pupil_inner_radiusfloat

[m] Default : None # Plan A: 5.6m, Plan B: 11.5m

pupil_outer_radiusfloat

[m] Default : 19