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

link

Return the component link

Methods Summary

set_parent(self, data)

Reassign the Data object that this DerivedComponent operates on

Attributes Documentation

data

Return the numerical data as a numpy array

Return the component link

Methods Documentation

set_parent(self, data)[source]

Reassign the Data object that this DerivedComponent operates on