semantique.processor.arrays.Collection.compose

semantique.processor.arrays.Collection.compose#

Collection.compose(track_types=True, **kwargs)[source]#

Apply the compose verb to the collection.

The compose verb creates a categorical composition from the arrays in the collection.

Parameters:
  • track_types (bool) – Should it be checked if all arrays in the collection have value type binary?

  • **kwargs – Ignored.

Returns:

xarray.DataArray

Raises:

exceptions.InvalidValueTypeError – If track_types = True and the value type of at least one of the arrays in the collection is not binary.