t_funcs.super_gaussian

t_funcs.super_gaussian(index)

Return a super-Gaussian pulse time function.

A flat-topped pulse with smooth edges, ampl * exp(-log(2) * (2 |t - centre| / fwhm)^(2 order)). order = 1 is a Gaussian and large order approaches a square pulse of width fwhm.

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 centre_{index} and order_{index} from args.

Notes

fwhm is the full width at half maximum for every order.