VSPEC.psg_api#

VSPEC module to communicate with the PSG API

This module communucates between VSPEC and and the Planetary Spectrum Generator via the API.

Functions#

cfg_to_bytes(config)

Convert a PSG config dictionary into a bytes sequence.

cfg_to_dict(config)

Convert a PSG config file into a dictionary.

change_psg_parameters(params, phase, ...)

Get the time-dependent PSG parameters

get_reflected(cmb_rad, therm_rad, planet_name)

Get reflected spectra.