Ufunc
Ufunc(
name: str ,
method: str = call,
reversed: bool = False,
operands: tuple[Any, …] = (),
kwargs: dict[str, Any] =
)-> None
A numpy ufunc applied to a patch.
Parameters
| Parameter | Description |
|---|---|
| name |
The ufunc’s name, as numpy spells it: "add", "multiply".
|
| method |
Which way it was applied – "__call__", "reduce","accumulate" – since a reduction is not the operation the plaincall is. |
| reversed |
Whether the patch was the right operand, so that 1 - patch isnot recorded as patch - 1.
|
| operands |
What the other operands were, for the ones which are not patches. A patch operand is not written here: it is a parent, and the ids already say so. |
| kwargs | Whatever else the call carried. |