tasks.circuit¶
Luigi tasks for circuit and atlas processings.
Classes¶
Create the annotation file for layers from an atlas. |
|
Create plane cuts of an atlas. |
|
Create mask at the boundary of the region to prevent placing somata too close to boundary. |
|
Generate cell positions and me-types from atlas, compositions and taxonomy. |
|
Create a smaller circuit file for subsampling. |
Module Contents¶
- class CreateAtlasLayerAnnotations(*args, **kwargs)¶
Bases:
luigi_tools.task.WorkflowTaskCreate the annotation file for layers from an atlas.
- class CreateAtlasPlanes(*args, **kwargs)¶
Bases:
luigi_tools.task.WorkflowTaskCreate plane cuts of an atlas.
- plane_type¶
Type of planes creation algorithm. It can take the value ‘centerline’, so the center line is computed between first_bound and last_bound with internal algorithm (from atlas-analysis package), or the value ‘aligned’ (warning: experimental) so center line is a straight line, along the centerline_axis.
- Type:
- Choices:
{centerline_curved, centerline_straight, aligned}
- Default value:
aligned
- plane_count¶
Number of planes to create slices of atlas.
- Type:
- Permitted values:
int in [1, 1000000000.0)
- Default value:
10
- centerline_first_bound¶
(only for plane_type == centerline) Location of first bound for centerline (in voxcell index).
- centerline_last_bound¶
(only for plane_type == centerline) Location of last bound for centerline (in voxcell index).
- centerline_axis¶
(only for plane_type = aligned) Axis along which to create planes.
- Type:
- Default value:
0
- class CreateBoundaryMask(*args, **kwargs)¶
Bases:
luigi_tools.task.WorkflowTaskCreate mask at the boundary of the region to prevent placing somata too close to boundary.
- boundary_thickness¶
Thickness to create a mask to prevent placing cells near boundary, in units of voxel size.
- Type:
- Default value:
0
- mask_path¶
- class BuildCircuit(*args, **kwargs)¶
Bases:
luigi_tools.task.WorkflowTaskGenerate cell positions and me-types from atlas, compositions and taxonomy.
- density_factor¶
The density of positions generated from the atlas.
- Type:
- Permitted values:
float in (0, 1]
- Default value:
0.5
- class SliceCircuit(*args, **kwargs)¶
Bases:
luigi_tools.task.WorkflowTaskCreate a smaller circuit file for subsampling.