spherical.grid.algebra
absolute
absolute(self)
Source: spherical/grid/algebra.py
Return absolute value of function values on the grid
add
add(self, other)
Source: spherical/grid/algebra.py
conjugate
conjugate(self, inplace=False)
Source: spherical/grid/algebra.py
Return Grid object corresponding to conjugated function The result has spin weight equal to the negative of this object's spin weight.
divide
divide(self, other)
Source: spherical/grid/algebra.py
Divide by another spin-weighted function or a scalar For spin-weighted functions, the spin weight of their ratio is the difference of the spin weights of the input.
Parameters
-
other
:or float
,complex
,array_like
,Grid
Grid object representing the spin-weighted functions, or an array or float which is equivalent to a spin-0 function.
multiply
multiply(self, other, truncator=None)
Source: spherical/grid/algebra.py
Multiply by another spin-weighted function or a scalar For spin-weighted functions, the spin weight of their product is the sum of the spin weights of the input.
Parameters
-
other
:or float
,complex
,array_like
,Grid
Grid object representing the spin-weighted functions, or an array or float which is equivalent to a spin-0 function.
subtract
subtract(self, other)
Source: spherical/grid/algebra.py