- Graph.sample_stf(stf, sample_times, *, name=None)
Sample an Stf at the given times.
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, optional) – The name of the node.
The values of the Stf at the given times.
- Return type
Create a constant Stf operator.
Discretize an Stf into a Pwc.
Create an Stf representing the identity function.
Sample a Pwc at given times.
For more information on Stf nodes see the Working with time-dependent functions in Boulder Opal topic.