LogicalNeuroVol
LogicalNeuroVol(data, space, label='', indices=None)Logical/binary 3D neuroimaging volume. Extends DenseNeuroVol with boolean data.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| data | array - like | Boolean 3D array | required |
| space | NeuroSpace | Spatial metadata | required |
| label | str | Volume label | '' |
| indices | array - like | If provided, only these indices will be set to True | None |
Attributes
| Name | Description |
|---|---|
| sum | Number of True voxels. |
Methods
| Name | Description |
|---|---|
| as_logical | Already logical, return self. |
as_logical
LogicalNeuroVol.as_logical()Already logical, return self.