Calculate Allan deviation in its simplest form
x (ndarray or xarray DataArray) – n-dim array for Allan calculation
dim (int or str) – optional, axis to operate along, defaults to last. If you pass a str, x must be a xarray.DataArray and the dimension will be a name.
Equation source: Jon Mittaz, personal communication, April 2016