Conf

class stpsf.Conf[source]

Bases: ConfigNamespace

Configuration parameters for stpsf.

Attributes Summary

STPSF_PATH

Directory path to data files required for STPSF calculations, such as OPDs and filter transmissions.

autoconfigure_logging

Should STPSF configure logging for itself and POPPY? This adds handlers that report calculation progress and information

default_fov_arcsec

Default field of view size, in arcseconds per side of the square

default_output_mode

Should output include the oversampled PSF, a copy rebinned onto the integer detector spacing, or both? Options: 'oversampled','detector','both'

default_oversampling

Default oversampling factor: number of times more finely sampled than an integer pixel for the grid spacing in the PSF calculation.

logging_filename

Desired filename to save log messages to.

logging_format_file

Format for lines logged to a file.

logging_format_screen

Format for lines logged to the screen.

logging_level

Desired logging level for STPSF optical calculations.

Attributes Documentation

STPSF_PATH

Directory path to data files required for STPSF calculations, such as OPDs and filter transmissions. This will be overridden by the environment variable $STPSF_PATH, if present.

autoconfigure_logging

Should STPSF configure logging for itself and POPPY? This adds handlers that report calculation progress and information

default_fov_arcsec

Default field of view size, in arcseconds per side of the square

default_output_mode

Should output include the oversampled PSF, a copy rebinned onto the integer detector spacing, or both? Options: ‘oversampled’,’detector’,’both’

default_oversampling

Default oversampling factor: number of times more finely sampled than an integer pixel for the grid spacing in the PSF calculation.

logging_filename

Desired filename to save log messages to.

logging_format_file

Format for lines logged to a file.

logging_format_screen

Format for lines logged to the screen.

logging_level

Desired logging level for STPSF optical calculations.