# stf_operator

Source: https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/Graph/stf_operator

```python
Graph.stf_operator(signal, operator)
```

Create a constant operator multiplied by a sampleable signal.

### Parameters
* **signal** ([*Stf*](https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/Stf.md#boulderopal.graph.Stf)) – A sampleable function representing the signal $a(t)$
  or a batch of sampleable functions.
* **operator** (*np.ndarray* *or* [*Tensor*](https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/Tensor.md#boulderopal.graph.Tensor)) – The operator $A$. It must have two equal dimensions.
### Returns
The sampleable operator $a(t)A$ (or batch of sampleable operators, if
you provide a batch of signals).
### Return type
[Stf](https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/Stf.md#boulderopal.graph.Stf)

### SEE ALSO
[`Graph.constant_stf_operator`](https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/Graph/constant_stf_operator.md#boulderopal.graph.Graph.constant_stf_operator)
: Create a constant Stf operator.

[`Graph.pwc_operator`](https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/Graph/pwc_operator.md#boulderopal.graph.Graph.pwc_operator)
: Corresponding operation for Pwcs.

[`Graph.stf_sum`](https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/Graph/stf_sum.md#boulderopal.graph.Graph.stf_sum)
: Sum multiple Stfs.

## Notes

For more information on Stf nodes see the [Working with time-dependent functions in
Boulder Opal](https://docs.q-ctrl.com/boulder-opal/topics/working-with-time-dependent-functions-in-boulder-opal) topic.
