bool_patch
bool_patch(
self: Patch ,
)
Get the boolean value of a patch.
This follows the NumPy convention of raising a ValueError if the patch has more than one element. Otherwise, it returns the truthiness of the one element.
DASCore 1.0 beta is out! Read the announcement, check the migration guide, and help us test it.
| function of dascore.proc.basic | source |
bool_patch(
self: Patch ,
)
Get the boolean value of a patch.
This follows the NumPy convention of raising a ValueError if the patch has more than one element. Otherwise, it returns the truthiness of the one element.