experimentcontext
experimentcontext ¶
Module for the ExperimentContext
Classes¶
ExperimentContext
dataclass
¶
ExperimentContext to provide the ids and storage
Functions¶
create_folder ¶
Creates a folder relative to the experiment
Source code in niceml/experiments/experimentcontext.py
instantiate_datadescription_from_yaml ¶
Instantiates a DataDescription from a yaml file
Source code in niceml/experiments/experimentcontext.py
read_csv ¶
Reads a csv file relative to the experiment
Source code in niceml/experiments/experimentcontext.py
read_image ¶
Reads an image relative to the experiment
Source code in niceml/experiments/experimentcontext.py
read_json ¶
reads the json file relative to the experiment
Source code in niceml/experiments/experimentcontext.py
read_parquet ¶
reads the dataframe as parquet file relative to the experiment
Source code in niceml/experiments/experimentcontext.py
read_yaml ¶
reads the yaml file relative to the experiment
update_last_modified ¶
Updates the last modified timestamp of the experiment info
Source code in niceml/experiments/experimentcontext.py
write_csv ¶
Writes a csv file relative to the experiment
Source code in niceml/experiments/experimentcontext.py
write_image ¶
Writes an image relative to the experiment
Source code in niceml/experiments/experimentcontext.py
write_json ¶
Writes a json file relative to the experiment
Source code in niceml/experiments/experimentcontext.py
write_parquet ¶
writes the dataframe as parquet file relative to the experiment
Source code in niceml/experiments/experimentcontext.py
write_yaml ¶
writes the yaml file relative to the experiment