NormativeData#
- class pyCGM2.Report.normativeDatasets.NormativeData(filenameNoExt: str, modality: str)#
Represents a normative dataset loaded from a JSON file.
The dataset is automatically populated into the data attribute, which is a dictionary with model output as keys. Each key reports mean and standard deviation values.
- data#
Dictionary with model outputs as keys and mean, standard deviation as sub-keys.
- Type:
dict
- Parameters:
filenameNoExt (str) – Filename of the targeted JSON file, without extension.
modality (str) – Specific modality of the normative data to load.
- __init__(filenameNoExt: str, modality: str)#
Initializes the NormativeData instance and populates the data attribute.
Methods
__init__
(filenameNoExt, modality)Initializes the NormativeData instance and populates the data attribute.