CGI

class webbpsf.CGI(mode=None, pixelscale=None, fov_arcsec=None, apply_static_opd=False)[source]

Bases: webbpsf.wfirst.WFIRSTInstrument

WFIRST Coronagraph Instrument

Simulates the PSF of the WFIRST coronagraph.

Current functionality is limited to the Shaped Pupil Coronagraph (SPC) observing modes, and these modes are only simulated with static, unaberrated wavefronts, without relay optics and without DM control. The design respresented here is an approximation to a baseline concept, and will be subject to change based on trades studies and technology development.

modestr

CGI observing mode. If not specified, the __init__ function will set this to a default mode ‘CHARSPC_F660’

pixelscalefloat

Detector pixelscale. If not specified, the pixelscale will default to 0.02 arcsec for configurations usint the IMAGER camera and 0.025 arcsec for the IFS.

fov_arcsecfloat

Field of view in arcseconds. If not specified, the field of view will default to 3.20 arcsec for the IMAGER camera and 1.76 arcsec for the IFS.

Attributes Summary

apodizer

Currently selected apodizer name

apodizer_list

camera

Currently selected camera name

camera_list

detector

Detector selected for simulated PSF

detector_position

The pixel position in (X, Y) on the detector

filter

Currently selected filter name

filter_list

fpm

Currently selected FPM name

fpm_list

lyotstop

Currently selected Lyot stop name

lyotstop_list

mode

Currently selected mode name

mode_list

Available Observation Modes

Methods Summary

print_mode_table()

Print the table of observing mode options and their associated optical configuration

Attributes Documentation

apodizer

Currently selected apodizer name

apodizer_list = ['CHARSPC', 'DISKSPC']
camera

Currently selected camera name

camera_list = ['IMAGER', 'IFS']
detector

Detector selected for simulated PSF

Used in calculation of field-dependent aberrations. Must be selected from detectors in the detector_list attribute.

detector_position

The pixel position in (X, Y) on the detector

filter

Currently selected filter name

filter_list = ['F660', 'F721', 'F770', 'F890']
fpm

Currently selected FPM name

fpm_list = ['CHARSPC_F660_BOWTIE', 'CHARSPC_F770_BOWTIE', 'CHARSPC_F890_BOWTIE', 'DISKSPC_F721_ANNULUS']
lyotstop

Currently selected Lyot stop name

lyotstop_list = ['LS30D88']
mode

Currently selected mode name

mode_list

Available Observation Modes

Methods Documentation

print_mode_table()[source]

Print the table of observing mode options and their associated optical configuration