simulate.py

simulate.save_simulation(data_frame, file_name)

The function save_simulation saves a data frame to a file with the specified file name.

Parameters:
  • data_frame – A pandas DataFrame containing the simulation data that you want to save to a file

  • file_name – The name of the file where the data will be saved

simulate.simulate(args, method='normal')

Simulation of a given model.

Parameters:
  • args – Parameters passed from the command line, see the main method.

  • method – Method of simulation (normal means using a traditional integrator, other methods use neural networks)