3.5.8. horton.grid.radial
– 1D Radial integration grid¶
-
class
horton.grid.radial.
RadialGrid
(rtransform, int1d=None)¶ Bases:
object
An integration grid for the radial component of a spherical coordinate system
-
chop
(new_size)¶ Return a radial grid with a different number of points.
Arguments:
- new_size
- The new number of radii.
The corresponding radii remain the same.
-
integrate
(*args)¶ Integrate the product of all arguments
Arguments:
- data1, data2, ...
- All arguments must be arrays with the same size as the number of grid points. The arrays contain the functions, evaluated at the grid points, that must be multiplied and integrated.
-
zeros
()¶
-
int1d
¶ The 1D radial integrator object of the grid.
-
radii
¶ The positions of the radial grid points.
-
rtransform
¶ The RTransform object of the grid.
-
shape
¶ The shape of the grid.
-
size
¶ The size of the grid.
-
weights
¶ The grid weights.
-