PercentileSupervoxelFeatures

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

class PercentileSupervoxelFeatures(modality: str | None = None, source: str = 'working', q: float = 90.0, as_: str | None = None)[source]

Bases: _RegionStatisticBase

A percentile of the voxel signal within each supervoxel.

Robust location summary alternative to the mean; q=90 (default) gives the 90th percentile with pandas’ linear interpolation.

name: str = 'percentile'

Registered component name; also the statistic forwarded to aggregate_voxel_statistic().

__init__(modality: str | None = None, source: str = 'working', q: float = 90.0, as_: str | None = None) → None[source]
property column_prefix: str

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

Examples using habit.supervoxel.PercentileSupervoxelFeatures

Supervoxel feature extraction and acceleration

Supervoxel feature extraction and acceleration