abs

function of dascore.proc.basic source

abs(
    patch: Patch ,
)-> ‘PatchType’

Take the absolute value of the patch data.

Examples

import dascore # import dascore library
pa = dascore.get_example_patch() # generate example patch
out = pa.abs() # take absolute value of generated example patch data