sinergym.utils.common.ranges_getter
- sinergym.utils.common.ranges_getter(output_path, last_result=None)
Given a path with simulations outputs, this function is used to extract max and min absolute valors of all episodes in each variable. If a dict ranges is given, will be updated.
- Parameters:
output_path (str) – path with simulations directories (Eplus-env-*).
last_result (dict) – Last ranges dict to be updated. This will be created if it is not given.
- Returns:
list min,max of each variable as a key.
- Return type:
dict