phlower.settings.PhlowerScalingSetting

class phlower.settings.PhlowerScalingSetting(*, variable_name_to_scalers=<factory>)[source]

Bases: BaseModel

Methods

get_scaler_name(variable_name)

get_variable_names()

is_scaler_exist(variable_name)

read_yaml(file_path)

resolve_scalers()

validate_scalers()

Attributes

model_computed_fields

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_extra

Get extra fields set during validation.

model_fields

model_fields_set

Returns the set of fields that have been explicitly set on this model instance.

variable_name_to_scalers

Parameters:

variable_name_to_scalers (dict[str, ScalerInputParameters | SameAsInputParameters | str])

model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].