public class RealSH extends LinearBasisFunction
SFPD_PARAMSCALE
Constructor and Description |
---|
RealSH(int order,
int index)
Constructor requires order and the index.
|
RealSH(int order,
int index,
double sc)
Constructor requires order, index and a constant scaling factor.
|
Modifier and Type | Method and Description |
---|---|
double |
getRadius(double theta,
double phi)
Overridden to evaluate the function directly as it is simpler
in polar coordinates.
|
double |
getRadius(double x,
double y,
double z)
Overridden to convert the Cartesian parameters to spherical polars and
call the getRadius(theta, phi).
|
double |
greatCircleIntegral(double[] u)
overridden great circle integral calculation.
|
anisotropy, centralMoment, centralMoment, getHessian, getHessian, getPDs, getPDsRS, getSearchRadius, getStats, greatCircleCentralMoment, greatCirclePowerIntegral, kurtosis, mean, mean, moment, moment, normMoment, normMoment, numGreatCircleCentralMoment, numGreatCircleIntegral, numGreatCirclePowerIntegral, setConvThresh, setSearchRadius, skewness
public RealSH(int order, int index)
order
- The spherical harmonic orderindex
- The spherical harmonic index.public RealSH(int order, int index, double sc)
order
- The spherical harmonic orderindex
- The spherical harmonic index.scalar
- Constant scaling factor of function.public double getRadius(double theta, double phi)
getRadius
in class SphericalFunction
theta
- The angle of colatitude.phi
- The angle of longitude.public double getRadius(double x, double y, double z)
getRadius
in class SphericalFunction
x
- x-coordinate.y
- y-coordinate.z
- z-coordinate.public double greatCircleIntegral(double[] u)
greatCircleIntegral
in class SphericalFunction
u
- the axis defining the plane of the circle