CoordinateComponent

class glue.core.component.CoordinateComponent(data, axis, world=False)[source]

Bases: glue.core.component.Component

Components associated with pixel or world coordinates

The numerical values are computed on the fly.

Parameters
  • data (numpy.ndarray) – The data to store

  • units (str) – Optional unit label

Attributes Summary

categorical

Whether or not the datatype is categorical

data

The underlying numpy.ndarray

ndim

Number of dimensions

numeric

Whether or not the datatype is numeric

shape

Tuple of array dimensions.

units

Attributes Documentation

categorical[source]
data[source]
ndim[source]

Number of dimensions

numeric[source]
shape[source]

Tuple of array dimensions.

units[source]