Linear¶
- class lsst.analysis.tools.actions.plot.Linear(*args, **kw)¶
Bases:
VectorAction
,TensorAction
Transform the input vector/tensor using the linear stretch.
- Parameters:
- data
Vector
A vector or a tensor containing the data to be transformed using the linear stretch.
- data
- Returns:
- A vector or tensor of the same size as the input, transformed
- using the linear stretch.
Attributes Summary
The offset of the linear stretch.
The slope of the linear stretch.
Methods Summary
__call__
(data, **kwargs)Call self as a function.
Attributes Documentation
Methods Documentation