PartSegCore.analysis

This module contains all utils specific for segmentation analysis task

PartSegCore.analysis.algorithm_description

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

Bases: PartSegCore.algorithm_describe_base.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": {
         "title": "Values",
         "anyOf": [
            {
               "$ref": "#/definitions/BaseModel"
            },
            {
               "type": "object"
            }
         ]
      },
      "class_path": {
         "title": "Class Path",
         "default": "",
         "type": "string"
      }
   },
   "required": [
      "name",
      "values"
   ],
   "additionalProperties": false,
   "definitions": {
      "BaseModel": {
         "title": "BaseModel",
         "type": "object",
         "properties": {}
      }
   }
}

Config
  • extra: str = forbid

Fields
Validators

field class_path: str = ''
Validated by
  • update_class_path

field name: str [Required]
Validated by
  • check_name

field values: Union[pydantic.main.BaseModel, Dict[str, Any]] [Required]
Validated by
  • update_values