Angle

class of dascore.proc.basic
inherits from: PatchProcessor, DascoreBaseModel, pydantic.main.BaseModel
source

Angle(
    *args ,
)-> None

Return a new patch with the phase angles from the data array.

Examples

import dascore
pa = dascore.get_example_patch()
out = pa.angle()

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 phase angle, as atan2 of the imaginary and real parts.
model_copy Copy the model, dropping cached values the update invalidates.
new Create new instance with some attributed updated.
numpy_kernel Return the phase angle of every sample.
angle Return a new patch with the phase angles from the data array.
reconcile Return metadata or a patch holding the final data; default as is.
run Run the operation: check, get_metadata, kernel, reconcile, record.