t_funcs.sech
Return a sech pulse time function.
Parameters
| index |
int |
Integer suffix used to look up parameters in args. |
required |
Returns
|
TFunc |
Callable f(t, args) reading centre_{index}, either |
|
TFunc |
ampl_{index} or n_pi_{index}, and either width_{index} |
|
TFunc |
or fwhm_{index} from args. Raises KeyError if conflicting |
|
TFunc |
or missing parameters are found. |
Notes
- The amplitude can be set directly via
ampl_{index} or indirectly via n_pi_{index} (desired pulse area in multiples of π).
- The width can be set directly via
width_{index} or indirectly via fwhm_{index} (full-width at half maximum).