VSPEC.helpers
#
VSPEC helpers module
This module contains functions that may be shared throughout the rest of the package.
Functions#
|
Generate a list of effective temperature (Teff) values with steps of 100 K that fully encompass the specified range. |
|
Check and build directory. |
|
Clip an effective temperature value to ensure it is within the bounds of available models. |
|
Get the filename that a PSG output is written to. |
|
Get the indices of the planet spectra to interpolate over. |
|
Get the effective temperatures (Teffs) of the two spectra to interpolate between in order to obtain a spectrum with the target Teff. |
|
Check if two quantities are close |
|
Round the effective temperature to the nearest integer. |