import dascore as dc
patch = dc.get_example_patch()
out = patch.abs()Abs
Abs(
*args ,
)-> None
Take the absolute value of the patch data.
Examples
Methods
| Name | Description |
|---|---|
| check | Refuse a patch which does not carry what the operation needs. |
| get_metadata |
Return the result’s metadata and the arguments kernel needs.
|
| kernel | Return the magnitude of every sample. |
| model_copy | Copy the model, dropping cached values the update invalidates. |
| new | Create new instance with some attributed updated. |
| abs | Take the absolute value of the patch data. |
| reconcile | Return metadata or a patch holding the final data; default as is. |
| run | Run the operation: check, get_metadata, kernel, reconcile, record. |