poppy_ao_psf

simcado.psf.poppy_ao_psf(strehl, mode='wide', plan='A', size=1024, filename=None, **kwargs)[source]

Create a diffraction limited E-ELT PSF with a Seeing halo

Uses POPPY to create a diffraction limited PSF for the E-ELT for a certain configuration of mirror segments. The diffraction limited core is added to seeing halo, modelled by either a moffat or gassian profile.

Parameters
strehlfloat

[0 .. 1] The components are summed and weighted according to the strehl ratio psf = (1-strehl)*seeing_psf + (strehl)*diff_limited_psf

modestr, optional

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

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)

sizeint, optional

[pixels] Default = 1024

filenamestr, optional

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

Returns
hdu_listastropy.HDUList

an astropy FITS object containing the PSFs for the given wavelengths

Other Parameters
fwhmfloat

[arcsec] Default : 0.8

psf_typestr

Default : “moffat”

wavelengthfloat

[um] Default : 2.2

segmentslist

Default : None. A list of which hexagonal poppy segments to use See get_eelt_segments()

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