Detailed API Reference
webbpsf Package
WebbPSF: Simulated Point Spread Functions for the James Webb Space Telescope
WebbPSF produces simulated PSFs for the James Webb Space Telescope, NASA’s next flagship infrared space telescope. WebbPSF can simulate images for any of the four science instruments plus the fine guidance sensor, including both direct imaging and coronagraphic modes.
Developed by Marshall Perrin and collaborators at STScI, 2010-2018.
Documentation can be found online at https://webbpsf.readthedocs.io/
Functions
|
Display Encircled Energy curve for a PSF |
|
Produce two plots of PSF radial profile and encircled energy |
|
Display nicely a PSF from a given hdulist or filename |
|
Display nicely the difference of two PSFs from given files |
|
Set up a WebbPSF instrument instance to have a modifiable OTE wavefront error OPD via an OTE linear optical model (LOM). |
|
This is just a convenience function, allowing one to access instrument objects based on a string. |
|
Measure the center of an image via center-of-mass |
|
measure encircled energy vs radius and return as an interpolator |
|
Improved version of measuring FWHM, without any binning of image data. |
|
measure azimuthally averaged radial profile of a PSF. |
|
Compute image sharpness, the sum of pixel squares. |
|
Estimate the Strehl ratio for a PSF. |
|
Compute a radial profile of the image. |
|
Restart logging using the same settings as the last WebbPSF session, as stored in the configuration system. |
|
Allows selection of logging detail and output locations (screen and/or file) |
|
Setup a webbpsf Instrument instance matched to a given dataset |
|
Get synphot Spectrum object from a user-friendly spectral type string. |
return various helpful/informative information about the current system. |
Classes
|
Configuration parameters for |
|
A class modeling the optics of the FGS. |
|
Superclass for all JWST instruments |
|
A class modeling the optics of MIRI, the Mid-InfraRed Instrument. |
|
A class modeling the optics of NIRCam. |
|
A class modeling the optics of the Near-IR Imager and Slit Spectrograph |
|
A class modeling the optics of NIRSpec, in imaging mode. |
|
Roman Coronagraph Instrument |
|
A generic Space Telescope Instrument class. |
|
WFI represents the Roman mission's Wide Field Imager. |