input_output_functions.py#

The methods for handling input and output.

print_parameters(SIMULATION_PARAMETERS)

Prints the simulation parameters.

save_input_parameters(SIMULATION_PARAMETERS)

Saves the simulation parameters in a text file.

check_input_parameters(SIMULATION_PARAMETERS)

Checks the simulation parameters for invalid input parameters.

save_simulation_output(directory, ...)

Saves an output dataframe as a csv file.

calculate_response_time_ecdf(df_patient)

Calculates the empirical cumulative distribution of the response time.

calculate_busy_fraction(df_patient, ...)

Calculates the busy fraction of a simulation run.

simulation_statistics(df_patient, ...)

Prints some simulation statistics.