Data Model

Date published: 21/09/23

class behaviour_tests.features.steps.data_model.BaseDataModel[source]

Abstract class for data models.

to_dict() dict[source]

Convert data model to dictionary.

Returns:

dict: The dictionary of the data model.

to_yaml(out_dir: str, outfile: str = 'meta.yaml', default_flow_style: bool = False) str[source]

Convert the data model to YAML, and write to file.

Args:
out_dir (str):

The output directory.

outfile (str):

The YAML output file.

default_flow_style (bool, optional):

The YAML flow style. Defaults to False.

Returns:
str:

The YAML file path.

class behaviour_tests.features.steps.data_model.BayesianModel[source]

Class for Bayesian Model parameters.

class behaviour_tests.features.steps.data_model.BehaviourTestModel[source]

Class for behaviour testing parameters.

to_dict() dict[source]

Convert data model to dictionary.

Returns:

dict: The dictionary of the data model.

class behaviour_tests.features.steps.data_model.ExperimentModel[source]

Class for experiment parameters.

class behaviour_tests.features.steps.data_model.FisheriesModel[source]

Class for Fisheries Model parameters.