t_funcs.ramp_onoff
t_funcs.ramp_onoff(index)Return a ramp-on / ramp-off time function.
The pulse rises smoothly, holds at ampl, then falls smoothly. Built by composing :func:ramp_on and :func:ramp_off.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| index | int | Integer suffix used to look up parameters in args. | required |
Returns
| Name | Type | Description |
|---|---|---|
| TFunc | Callable f(t, args) reading ampl_{index}, fwhm_{index}, |
|
| TFunc | on_{index}, and off_{index} from args. |