semantique.processor.arrays.Collection

semantique.processor.arrays.Collection#

class semantique.processor.arrays.Collection(list_obj)[source]#

Internal representation of a collection of multiple arrays.

Parameters:

list_obj (list of xarray.DataArray) – The elements of the collection stored in a list.

__init__(list_obj)[source]#

Methods

__init__(list_obj)

apply_custom(verb[, track_types])

Apply a user-defined verb to all arrays in the collection.

assign(y[, at, track_types])

Apply the assign verb to all arrays in the collection.

compose([track_types])

Apply the compose verb to the collection.

concatenate(dimension[, track_types, vtype])

Apply the concatenate verb to the collection.

delineate([track_types])

Apply the delineate verb to all arrays in the collection.

evaluate(operator[, y, track_types])

Apply the evaluate verb to all arrays in the collection.

extract(dimension[, component])

Apply the extract verb to all arrays in the collection.

fill(dimension, method[, track_types])

Apply the fill verb to all arrays in the collection.

filter(filterer[, track_types])

Apply the filter verb to all arrays in the collection.

merge(reducer[, track_types])

Apply the merge verb to the collection.

name(value, **kwargs)

Apply the name verb to all arrays in the collection.

reduce(reducer[, dimension, track_types])

Apply the reduce verb to all arrays in the collection.

regularize()

Regularize the spatial dimension of all arrays in the collection.

shift(dimension, steps, **kwargs)

Apply the shift verb to all arrays in the collection.

smooth(reducer, dimension, size[, limit, ...])

Apply the smooth verb to all arrays in the collection.

stack_spatial_dims()

Stack the spatial dimensions for all arrays in the collection.

trim([dimension])

Apply the trim verb to all arrays in the collection.

unstack_spatial_dims()

Unstack the spatial dimensions for all arrays in the collection.

Attributes

is_empty

Are all elements of the collection empty arrays.

sq

Semantique accessor.