trafpy.manager.src.simulators package

Submodules

trafpy.manager.src.simulators.analysers module

trafpy.manager.src.simulators.dcn module

trafpy.manager.src.simulators.env_analyser module

class trafpy.manager.src.simulators.env_analyser.EnvAnalyser(env, time_units='a.u.', info_units='a.u.', subject_class_name=None)[source]

Bases: object

compute_metrics(measurement_start_time=None, measurement_end_time=None, env_analyser_database_path=None, overwrite=False, print_summary=False)[source]
measurement_start_time (int, float): Simulation time at which to begin recording

metrics etc.; is the warm-up time

measurement_end_time (int, float): Simulation time at which to stop recording

metrics etc.; is the cool-down time

If overwrite is False and an analyser object exists in env_analyser_database_path, will load previously saved analyser object rather than re-computing everything. To overwrite this previously saved analyser, set overwrite=True.

If tmp_database_path is not None, will store data in tmp_database_path str specified. This can help with memory errors as avoids holding everything in RAM memory.

trafpy.manager.src.simulators.env_plotter module

trafpy.manager.src.simulators.plotters module

trafpy.manager.src.simulators.simulators module

Module contents