API reference
This reference is generated automatically from the docstrings in the source.
It is organized by module. The most commonly used objects are re-exported at
the top level of the wcc_etc package, so e.g. wcc_etc.Simulation and
wcc_etc.simulation.Simulation are the same class.
Top-level public API
|
Get a Scene object with a source, an optional host, and an optional background. |
|
Build a Scene whose source spectrum is read from a wavelength/flux file. |
|
Generic top level function to instanciate a scene element. |
|
A collection of SceneElements (source, host, background) representing a full observation scene. |
|
A class to manage and run image exposure simulations. |
|
A class representing the sensor (detector) properties. |
|
Render a point source onto a detector grid with noise, driven by an ETC Simulation. |
|
Result of an ImageSimulator.simulate() call. |
|
Diffraction-limited Airy PSF rendered on the detector grid (default). |
|
A defocused PSF loaded from a Zemax Huygens text file. |
|
A custom PSF from an ndarray or a Huygens-format text file (future hook). |
|
Return an approximate V-band magnitude of the Moon. |
|
Read a single configuration file. |
|
Get sensor configuration for a specific detector kind and band. |
|
Apply the WCC plotting style to matplotlib's global rcParams. |
Modules
- Simulation
- Scenes (
wcc_etc.scene) - Sensor
- Telescope
- PSF and image simulation (
wcc_etc.psfsim)DetectorPSFContextnormalize_psf()center_crop_or_pad()recenter()PSFSourceAiryPSFload_huygens_psf()DefocusPSFCustomPSFsaturation_mask_from_image_e()SimulatedImageImageSimulatorhowell_center()psf_center()apply_jitter()tiff_to_fits()create_master_flat_from_fits()apply_nl_scaling()FitsImgListFitsImgsolve_time_for_snr()aperture_snr_radial()select_aperture()aperture_time_for_snr()calc_hwzm()calc_hwhm()
- Plotting (
wcc_etc.plotting) - Astrophysics helpers (
wcc_etc.astro) - I/O and configuration (
wcc_etc.io)