basic

module of dascore.proc source

Basic operations for patches.

Functions

Name Description
abs Take the absolute value of the patch data.
angle Return a new patch with the phase angles from the data array.
apply_operator Apply a ufunc-type operator to a patch.
conj Apply the complex conjugate of the patch data.
dropna Return a patch with nullish values dropped along dimension.
equals Determine if the current patch equals another.
fillna Return a patch with nullish values replaced by a value.
imag Return a new patch with the imaginary part of the data array.
normalize Normalize a patch along a specified dimension.
pad Pad the patch data along specified dimensions.
pipe Pipe the patch to a function.
real Return a new patch with the real part of the data array.
roll Roll patch array elements along a given dimension.
set_dims Set dimension to non-dimensional coordinate.
standardize Standardize data by removing the mean and scaling to unit variance.
update Return a copy of the Patch with updated data, coords, dims, or attrs.
update_attrs Update attrs and return a new Patch.