utils

Utility module for generating files, sanitizing yaml files, etc.

Functions

Summary

_generate_data_file

Generate and save the data file for the simulation.

_generate_model_file

Generate and save a model file for the simulation.

_generate_parameter_file

Generate and save the parameter file for the simulation.

_sanitize_dict

Sanitize an input dictionary and produce a new sanitized dictionary.

_sanitize_yaml_file

Sanitize an input YAML file and produce a new sanitized YAML file.

_update_irf_parameter

Update IRF parameters.

_update_parameter_values

Update parameter values based on the simulation configuration.

_update_rate_parameter

Update rate parameters.

_update_shape_parameter

Update shape parameters.

generate_model_parameter_and_data_files

Generate and save the model, parameter, and data files for the simulation.