sample_stf
- Graph.sample_stf(stf, sample_times, *, name=None)
Sample an Stf at the given times.
- Parameters:
stf (Stf) – The Stf to sample.
sample_times (list or tuple or np.ndarray(1D, real)) – The times at which you want to sample the Stf. Must be ordered and contain at least one element.
name (str or None, optional) – The name of the node.
- Returns:
The values of the Stf at the given times.
- Return type:
See also
constant_stf_operator
Create a constant Stf operator.
discretize_stf
Discretize an Stf into a Pwc.
identity_stf
Create an Stf representing the identity function.
sample_pwc
Sample a Pwc at given times.
Notes
For more information on Stf nodes see the Working with time-dependent functions in Boulder Opal topic.