tasks.transform¶
Transformation phase (Optional).
Attributes¶
Classes¶
Collect source dataset to transform. |
|
Collect target dataset to learn the transformation. |
|
Learn how to transform soma from source to target datasets. |
|
Learn how to transform morphologies. |
|
Learn how to transform diameters. |
|
Apply the transformation on source dataset. |
|
Compare the transformed morphologies by simple plots. |
|
Make a morpology release, with only repair. |
Module Contents¶
- tasks.transform.logger¶
- class tasks.transform.CollectSourceDataset(*args, **kwargs)¶
Bases:
data_validation_framework.task.ElementValidationTaskCollect source dataset to transform.
- class tasks.transform.CollectTargetDataset(*args, **kwargs)¶
Bases:
data_validation_framework.task.ElementValidationTaskCollect target dataset to learn the transformation.
- class tasks.transform.LearnSomaTransform(*args, **kwargs)¶
Bases:
data_validation_framework.task.SetValidationTaskLearn how to transform soma from source to target datasets.
- per_mtype¶
- method¶
- Choices:
{ratio_of_means}
- Default value:
ratio_of_means
- plot¶
- extra_requires()¶
Requirements that should not be considered as validation tasks.
- class tasks.transform.LearnMorphologyTransform(*args, **kwargs)¶
Bases:
data_validation_framework.task.SetValidationTaskLearn how to transform morphologies.
- per_mtype¶
- method¶
- Choices:
{extents_no_axon, cortical}
- Default value:
cortical
- extra_data¶
- plot¶
- extra_requires()¶
Requirements that should not be considered as validation tasks.
- class tasks.transform.LearnDiameterTransform(*args, **kwargs)¶
Bases:
data_validation_framework.task.SetValidationTaskLearn how to transform diameters.
- per_mtype¶
- method¶
- Choices:
{branch_order}
- Default value:
branch_order
- plot¶
- max_x¶
- extra_requires()¶
Requirements that should not be considered as validation tasks.
- class tasks.transform.ApplyTransformation(*args, **kwargs)¶
Bases:
data_validation_framework.task.ElementValidationTaskApply the transformation on source dataset.
- class tasks.transform.CompareTransformed(*args, **kwargs)¶
Bases:
data_validation_framework.task.SetValidationTaskCompare the transformed morphologies by simple plots.
- extra_requires()¶
Requirements that should not be considered as validation tasks.
- class tasks.transform.MakeTransformRelease(*args, **kwargs)¶
Bases:
data_validation_framework.task.SetValidationTaskMake a morpology release, with only repair.
- repair_path¶
Path to repaired morphologies (not created if None)
- Type:
- Default value:
repaired_release
- extensions = ['.asc', '.h5', '.swc']¶
- ext¶