snews_pt.snews_pt_utils¶
Utility tools for snews_pt
Attributes¶
Functions¶
|
Set environment parameters |
|
Retrieve the name-ID-location of the participating detectors. |
Tell if the script is running on a notebook |
|
Some fun method to display an alert gif |
|
|
set your detector's name. |
Module Contents¶
- snews_pt.snews_pt_utils.set_env(env_path=None)[source]¶
Set environment parameters
- Parameters:
env_path (str, (optional)) – path for the environment file. Use default settings if not given
- snews_pt.snews_pt_utils.retrieve_detectors(detectors_path=default_detector_file)[source]¶
Retrieve the name-ID-location of the participating detectors.
- Parameters:
detectors_path (str, optional) – path to detector properties. File needs to be in JSON format
- Return type:
None