config#
Methods for reading in configuration files and for getting paths to the directories that contain the data and the experiments.
- hsr4hci.config.get_datasets_dir()[source]#
Get the path of the
datasetsdirectory (i.e., the directory where the methods fromhsr4hci.datawill look for data sets by default).Note
This path needs to be defined in an environmental variable called
HSR4HCI_DATASETS_DIR, which can be set as follows:export HSR4HCI_DATASETS_DIR="/path/to/datasets/directory"
Include this line in your
.bashrc(or similar) to set it automatically.- Returns:
Path to the
datasetsdirectory.- Return type:
- hsr4hci.config.get_experiments_dir()[source]#
Get the path of the
experimentsdirectory.Note
This path needs to be defined in an environmental variable called
HSR4HCI_EXPERIMENTS_DIR, which can be set as follows:export HSR4HCI_EXPERIMENTS_DIR="/path/to/experiments/directory"
Include this line in your
.bashrc(or similar) to set it automatically.- Returns:
Path to the
experimentsdirectory.- Return type: