basic
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.
|
|
bool_patch
|
Get the boolean value of a patch.
|
|
conj
|
Apply the complex conjugate of the patch data.
|
|
demean
|
Remove the mean along a given dimension of a DASCore patch.
|
|
demedian
|
Remove the median along a given dimension of a DASCore patch.
|
|
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.
|
|
flip
|
Flip patch data and (optionally coords) along specified dimensions.
|
|
full
|
Return an identical patch with the data replaced by fill_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.
|
|
pin_id
|
Return the patch with a data_id hashed from the data it holds.
|
|
pipe
|
Pipe the patch to a function.
|
|
pow_coord
|
Scale the data by coordinate values raised to a power.
|
|
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 patch attrs and return a new Patch.
|
|
where
|
Return elements from patch where condition is True, else fill with other.
|
Classes
|
Name
|
Description
|
|
Abs
|
Take the absolute value of the patch data.
|
|
Conj
|
Apply the complex conjugate of the patch data.
|
|
Demean
|
Remove the mean along a given dimension of a DASCore patch.
|
|
Imag
|
Return a new patch with the imaginary part of the data array.
|
|
Normalize
|
Normalize a patch along a specified dimension.
|
|
Real
|
Return a new patch with the real part of the data array.
|
|
Standardize
|
Standardize data by removing the mean and scaling to unit variance.
|