xarray_sci
File Purpose: high-level xarray functions. May be especially useful for science.
Functions
|
assign polyfit stddev to dataset['polyfit_stddev'], treating dataset like a result of polyfit. |
|
returns result of coarsening array, then polyfitting along the fine dimension, in each window. |
|
evaluate a curve fit result (params) for this function at these xdata. |
|
scipy.optimize.curve_fit(f, xdata=array[dim], ydata=array). |
|
return d(array)/dx, for curvilinear coordinates in 3D, |
|
return the gradient of array[coord], along dim=coord if possible, else along '{coord}_dim'. |
|
returns array after applying scipy.ndimage.gaussian_filter to it. |
|
interpolate a DataArray but using the array values as one of the interpolation variables; |
|
return minimal indices for array.isel(dim=...) that still allow interp to these values. |
|
return the jacobian of array with respect to these coords and dims. |
|
returns result of xarray_curve_fit with f a line: |
|
returns Dataset of the "normalized" moments of array along dim, |
|
return the np.gradient of array along dim, without incorporating coordinates into the math. |
|
returns array.polyfit(coord, degree, **kw_polyfit), after swapping coord to be a dimension, if needed. |
|
evaluate the polyfit in dataset at these coordinates. |
|
return array interpolated to values, along dim, assuming wrap-around at wrap. |
Classes
|
class for helping with curve fitting. |
|
XarrayCurveFitter with f a line: f(x, slope, intercept) = slope * x + intercept. |