utils
Other functions
This module implements a extra utils functions.
- utils.check_parms(parms_df)
Check each parameter value and raise an error if uncorrect.
- Parameters:
parms (dict) – Stored parameters containing global variables and instructions.
- Returns:
Refined parameters with type.
- Return type:
dict
- utils.get_color_list(num_states)
Create list of colors.
- Parameters:
num_states (int) – Number of states.
- Returns:
List of colors for the plots.
- Return type:
list