t_funcs.ramp_offon
t_funcs.ramp_offon(index)Return a ramp-off / ramp-on time function.
The pulse starts at ampl, dips smoothly to zero, then rises back to ampl. 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 | off_{index}, and on_{index} from args. |