Skip to main content

config

Config for the GCC calculation step (v1).

Classes

GCCCalculationConfig

class GCCCalculationConfig(**data: Any):

Config for the Ganglion Cell Complex (GCC) calculation step.

All fields are required — defaults are provided by the YAML template.

The inner_layer_name / outer_layer_name fields must name valid retinal layers (RetinalLayer.from_str) and region_radius_mm must be strictly positive, replicating the validation the legacy GCCCalculationAlgorithm factory performed in its __init__ (note this is stricter than CST, which allows a zero radius for the single-point CRT).

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Variables

  • static inner_layer_name : str
  • static macula_landmark_idx : int
  • static model_config
  • static outer_layer_name : str
  • static region_radius_mm : float
  • static strict_measurement : bool