Skip to main content

config

Config for the GA calculation without fovea step (v1).

Classes

GACalculationWithoutFoveaConfig

class GACalculationWithoutFoveaConfig(**data: Any):

Config for the GA area / metrics calculation step (without fovea).

The segmentation lists are required (supplied by the YAML template); the per-biomarker N-scan thresholds default to 0.5 so a template need not set them.

The N-scan thresholds are exposed as modeller variables, so a blank one arrives here as None. They tune detection for a criterion that is switched on elsewhere (n_scan_<label>_typical_width_micrometers on the criteria-matching step), so a blank cannot mean "no criterion" — there is no criterion here to suppress — and 0 is out of range. A blank therefore falls back to the 0.5 default rather than failing the whole run at config-parse time.

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 ga_area_exclude_segmentations : list[str]
  • static ga_area_include_segmentations : list[str]
  • static model_config
  • static n_scan_diabetic_macular_edema_per_scan_threshold : float
  • static n_scan_diffuse_edema_per_scan_threshold : float
  • static n_scan_epiretinal_fibrosis_per_scan_threshold : float
  • static n_scan_intraretinal_cystoid_fluid_per_scan_threshold : float
  • static n_scan_subretinal_fluid_per_scan_threshold : float
  • static n_scan_subretinal_hyperreflective_material__shrm__per_scan_threshold : float