SimulationInterface class¶
Esta es la documentación de la librería.
-
class
simulation_interface.
SimulationInterface
¶ Bases:
object
family_birthdays is a package computes the family birthdays The framework can be personalized and extended for a specific simulation need. Link: https://family_birthdays.readthedocs.io/
-
download
(filename)¶ Utility to download file, using colab
-
load
(filename)¶ Loads a simulation from a simulation file generated with the save method to restore the simulation.
Parámetros: filename (string) – Name for the simulation file.
-
new
(inputs, plot_options=None)¶ Associates inputs and plot options to the simulation.
Parámetros: - inputs (dict) – The inputs that will be used in the simulation. This can be completely personalized.
- plot_options (dict, optional) – The plot options, defaults to None
-
save
(filename)¶ Saves the current state of the simulation, with all the provided information. The created file can be used with the load method to restore the simulation.
Parámetros: filename (string) – Name for the simulation file.
-
simulate
()¶ Conditionally imports the numpy library.
-
status
()¶ Prints out the detected configuration: environment, python and library versions.
-