psgParameters#
- class VSPEC.params.gcm.psgParameters(gcm_binning: int, phase_binning: int, use_molecular_signatures: bool, nmax: int, lmax: int, continuum: list)#
Bases:
BaseParameters
Class to store parameters for the Planetary Spectrum Generator (PSG).
- Parameters:
gcm_binning (int) – Number of spatial points to bin together in the GCM data. Use 3 for science.
phase_binning (int) – Number of phase epochs to bin together when simulating the planet. These are later interpolated to match the cadence of the variable star simulation.
use_molecular_signatures (bool) – Whether to use molecular signatures (PSG atmosphere) or not.
nmax (int) – PSG handbook: ‘When performing scattering aerosols calculations, this parameter indicates the number of n-stream pairs - Use 0 for extinction calculations only (e.g. transit, occultation)’ [Villanueva et al., 2022]
lmax (int) – PSG handbook: ‘When performing scattering aerosols calculations, this parameter indicates the number of scattering Legendre polynomials used for describing the phase function - Use 0 for extinction calculations only (e.g. transit, occultation)’ [Villanueva et al., 2022]
continuum (list of str) – The continuum opacities to include in the radiative transfer calculation, such as ‘Rayleigh’, ‘Refraction’, ‘CIA_all’.
url (str) – URL of the Planetary Spectrum Generator.
api_key (APIkey) – An instance of the APIkey class representing the PSG API key. Provide either the path to the API key file or the API key value.
- nmax#
PSG handbook: ‘When performing scattering aerosols calculations, this parameter indicates the number of n-stream pairs - Use 0 for extinction calculations only (e.g. transit, occultation)’ [Villanueva et al., 2022]
- Type:
- lmax#
PSG handbook: ‘When performing scattering aerosols calculations, this parameter indicates the number of scattering Legendre polynomials used for describing the phase function - Use 0 for extinction calculations only (e.g. transit, occultation)’ [Villanueva et al., 2022]
- Type:
- api_key#
An instance of the APIkey class representing the PSG API key.
- Type:
APIkey