PartSegCore.analysis

This module contains all utils specific for segmentation analysis task

Module with own documentation contents:

PartSegCore.analysis.algorithm_description

pydantic model PartSegCore.analysis.algorithm_description.AnalysisAlgorithmSelection[source]

Bases: AlgorithmSelection

Register for segmentation method visible in PartSeg ROI Analysis.

Show JSON schema
{
   "title": "AnalysisAlgorithmSelection",
   "description": "Register for segmentation method visible in PartSeg ROI Analysis.",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "type": "string"
      },
      "values": {
         "anyOf": [
            {
               "type": "object"
            },
            {
               "$ref": "#/$defs/BaseModel"
            }
         ],
         "title": "Values"
      },
      "class_path": {
         "default": "",
         "title": "Class Path",
         "type": "string"
      }
   },
   "$defs": {
      "BaseModel": {
         "properties": {},
         "title": "BaseModel",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "name",
      "values"
   ]
}

Config:
  • extra: str = forbid

  • smart_union: bool = True

Fields:

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.