DerivedComponent¶
-
class
glue.core.component.DerivedComponent(data, link, units=None)[source]¶ Bases:
glue.core.component.ComponentA 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
dataReturn the numerical data as a numpy array hiddenlinkReturn 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
-
link¶ Return the component link
Methods Documentation
- data (