import dascore
pa = dascore.get_example_patch()
out = pa.real()Real
Real(
*args ,
)-> None
Return a new patch with the real part of the data array.
Examples
Methods
| Name | Description |
|---|---|
| check | Refuse a patch which does not carry what the operation needs. |
| chunk_contract | Pointwise, and nothing to do for real data. |
| get_metadata | Complex data have a real part of the real dtype; real data are kept. |
| kernel | Return the real part, or the data which is already only that. |
| model_copy | Copy the model, dropping cached values the update invalidates. |
| new | Create new instance with some attributed updated. |
| real | Return a new patch with the real part of 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. |