DerivedComponent

class glue.core.component.DerivedComponent(data, link, units=None)[source]

Bases: glue.core.component.Component

A component which derives its data from a function

Parameters:
  • data (Data) – The data object to use for calculation
  • link (ComponentLink) – The link that carries out the function
  • units – Optional unit description

Attributes Summary

data Return the numerical data as a numpy array
hidden
link Return the component link

Methods Summary

set_parent(data) Reassign the Data object that this DerivedComponent operates on

Attributes Documentation

data

Return the numerical data as a numpy array

hidden

Return the component link

Methods Documentation

set_parent(data)[source]

Reassign the Data object that this DerivedComponent operates on