diff options
author | Théo de la Hogue | 2024-04-10 12:37:08 +0200 |
---|---|---|
committer | Théo de la Hogue | 2024-04-10 12:37:08 +0200 |
commit | c03097c7b8e9b3fbbe188c0c99908fae2b28ba37 (patch) | |
tree | c7a5d1db9d65e27db19c0f91d74c8cd3202ffc8a /docs/user_guide/gaze_analysis_pipeline/advanced_topics | |
parent | f3a09d79cafef66693c1792d21d722870ab53dc7 (diff) | |
download | argaze-c03097c7b8e9b3fbbe188c0c99908fae2b28ba37.zip argaze-c03097c7b8e9b3fbbe188c0c99908fae2b28ba37.tar.gz argaze-c03097c7b8e9b3fbbe188c0c99908fae2b28ba37.tar.bz2 argaze-c03097c7b8e9b3fbbe188c0c99908fae2b28ba37.tar.xz |
Adding new argaze.load package function to ease the access to DataFeatures.from_json function.
Diffstat (limited to 'docs/user_guide/gaze_analysis_pipeline/advanced_topics')
-rw-r--r-- | docs/user_guide/gaze_analysis_pipeline/advanced_topics/module_loading.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user_guide/gaze_analysis_pipeline/advanced_topics/module_loading.md b/docs/user_guide/gaze_analysis_pipeline/advanced_topics/module_loading.md index fb717b6..0e439a9 100644 --- a/docs/user_guide/gaze_analysis_pipeline/advanced_topics/module_loading.md +++ b/docs/user_guide/gaze_analysis_pipeline/advanced_topics/module_loading.md @@ -37,13 +37,13 @@ To do so, simply prepend the package where to find the module into the JSON conf Then, load your package from the python script where the [ArFrame](../../../argaze.md/#argaze.ArFeatures.ArFrame) is created. ```python -from argaze import ArFeatures +import argaze # Import your own package import my_package # Load ArFrame -with ArFeatures.ArFrame.from_json('./configuration.json') as ar_frame: +with argaze.load('./configuration.json') as ar_frame: # Print ArFrame attributes for module, scan_path_analyzer in ar_frame.scan_path_analyzers.items(): |