Post Processing
Extracting Simulation Data
collections(env)
Returns a dict of point labels collected by each agent with timestamps.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env |
AECEnv
|
Env to extract point labels from. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict | Dict of point labels together with timestamps keyed by agent name. |
Source code in datadynamics/utils/post_processing/extract.py
feats_targets_timestamps(collections, include_timestamps=True)
Extracts features, targets and timestamps from collections.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
collections |
dict
|
Dict of point labels together with timestamps keyed by agent name. |
required |
include_timestamps |
bool
|
Whether to include timestamps in features. Defaults to True. |
True
|
Returns:
| Name | Type | Description |
|---|---|---|
tuple | Tuple of timestamps, features and targets. |
Source code in datadynamics/utils/post_processing/extract.py
save_collections(env, filename)
Extracts and saves point labels collected by each agent with timestamps.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env |
AECEnv
|
Env to extract point labels from. |
required |
filename |
str
|
Filename to save point labels to. |
required |