The cascade.verbose module¶
Created on Mon May 4 19:08:58 2020
@author: Jeroen Bouwman
- load_data_verbose(*args, **kwargs)[source]¶
Make verbose plots for load_data step.
- Parameters:
args ('tuple') – Input varables for plot output.
kwargs ('dict') –
- Named varables for plot output. Included should be the following:
verbose_par, plot_data
- Returns:
None.
- subtract_background_verbose(*args, **kwargs)[source]¶
Make verbose plots for the subtract_background step.
- Parameters:
args ('tuple') – Input varables for plot output.
kwargs ('dict') –
- Named varables for plot output. Included should be the following:
verbose_par, plot_data
- Returns:
None.
- check_wavelength_solution_verbose(*args, **kwargs)[source]¶
Make verbose plots for the check_wavelength_solution step.
- Parameters:
args ('tuple') – Input varables for plot output.
kwargs ('dict') –
- Named varables for plot output. Included should be the following:
verbose_par, modeled_observations, corrected_observations
- Returns:
None.
- calibrate_timeseries_verbose(*args, **kwargs)[source]¶
Make verbose plots for the calibrate_timeserie step.
- Parameters:
args ('tuple') – Input varables for plot output.
kwargs ('dict') –
- Named varables for plot output. Included should be the following:
verbose_par, model, dataset, cleaned_dataset, exoplanet_spectrum, calibration_results.
- Returns:
None.
- class Verbose[source]¶
Bases:
object
The Class handels verbose output vor the cascade pipeline.
- execute(command, *args, **kwargs)[source]¶
Excecute the pipeline commands.
This function checks if a command is valid and excecute it if True.
- Parameters:
command (str) – Command to be excecuted. If valid the method corresponding to the command will be excecuted
- Raises:
ValueError – error is raised if command is not valid
Examples
Example how to run the command to reset a tso object:
>>> vrbs.execute('load_data')