tardis.workflows.workflow_logging module¶
- class tardis.workflows.workflow_logging.WorkflowLogging(configuration, log_level=None, specific_log_level=None)[source]¶
Bases:
object
- log_dataframe_console(dataframe, step)[source]¶
Logs a dataframe to console with a step sample
- Parameters:
- dataframepd.DataFrame
Dataframe to display
- stepint
Step to use when sampling the dataframe
- log_dataframe_notebook(dataframe, step)[source]¶
Logs a dataframe in a notebook with a step sample
- Parameters:
- dataframepd.DataFrame
Dataframe to display
- stepint
Step to use when sampling the dataframe
- log_plasma_state(t_rad, dilution_factor, t_inner, next_t_rad, next_dilution_factor, next_t_inner, log_sampling=5)[source]¶
Logging the change of the plasma state
- Parameters:
- t_radastropy.units.Quanity
current t_rad
- dilution_factornp.ndarray
current dilution_factor
- next_t_radastropy.units.Quanity
next t_rad
- next_dilution_factornp.ndarray
next dilution_factor
- log_samplingint
the n-th shells to be plotted
- Returns: