DerivedComponent

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

Bases: Component

A component which derives its data from a function.

Parameters
dataData

The data object to use for calculation.

linkComponentLink

The link that carries out the function.

unitsstr, optional

Unit description.

Attributes Summary

data

Return the numerical data as a numpy array

link

Return the component link

Methods Summary

set_parent(data)

Reassign the Data object that this DerivedComponent operates on

Attributes Documentation

data[source]

Return the numerical data as a numpy array

Return the component link

Methods Documentation

set_parent(data)[source]

Reassign the Data object that this DerivedComponent operates on