uwacan.positional.SensorArray#

class SensorArray(data, attrs=None)[source]#

Bases: Sensor

Container for sensor information.

This class is typically not instantiated directly, but through the sensor factory function, concatenating individual sensors, or using the & operator on sensors.

Methods

Inherited methods

from_dataset(data)

Instantiate the class from a dataset.

groupby(group)

isel([indexers, drop, missing_dims, drop_allnan])

Select a subset of the data from the coordinate indices.

load(path[, lookup_class])

Load data from a Zarr file and optionally restore the original class.

make_figure(**kwargs)

Create a plotly figure, styled for this data.

save(path[, append_dim])

Save the data to a Zarr file at the specified path.

sel([indexers, method, tolerance, drop, ...])

Select a subset of the data from the coordinate labels.

where(cond[, other, drop])

Filter elements from this object according to a condition.

with_data(**kwargs)

Create a copy of this sensor with additional information.

Attributes

attrs

Attributes stored in the data.

coords

The coordinate (dimension) arrays for this data.

data

The contained data.

dims

The dimensions of this data.

label

The labels of the sensors.

sensors

The stored Sensor objects, as a dict.

sizes

Mapping from dimension names to lengths.