package SH
Contains useful functions for generating and working with SH-projections.
- Alphabetic
- By Inheritance
- SH
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
SH
(sh: DenseVector[Double]) extends SphericalFunction[Double] with Product with Serializable
SH expansion of a spherical function.
SH expansion of a spherical function.
- sh
The SH coefficients for the expansion. Must contain n² (n > 0) elements.
- case class SHProjectionSample (cartesian: Vector[_3D], sh: DenseVector[Double]) extends Product with Serializable
-
case class
SHProjectionSamples
(samplesOnUnitSphere: VectorsOnUnitSphere, shBands: Int) extends Product with Serializable
Generates and stores pairs of directions and their SH-representations.
Generates and stores pairs of directions and their SH-representations. These can bes used for projecting spherical functions into SH space.
-
case class
SHRotation
(rotation: DenseMatrix[Double]) extends Product with Serializable
Represents a rotation that can be applied to the SH projection of a spherical function
Represents a rotation that can be applied to the SH projection of a spherical function
- rotation
A matrix representing the rotation in euclidean space
-
trait
SHWindow
extends AnyRef
An abstract SH windowing function.
-
class
ZH
extends SH
A vector of SH coefficients representing a function with rotational symmetry about the z axis.
A vector of SH coefficients representing a function with rotational symmetry about the z axis. Only coefficients with m = 0 are non-zero.
Value Members
- implicit def denseVectorToSHVector(sh: DenseVector[Double]): SH
-
def
project(f: (Vector3D) ⇒ Double, samples: SHProjectionSamples): DenseVector[Double]
Projects a spherical function.
-
def
project(f: (Double, Double) ⇒ Double, samples: SHProjectionSamples): DenseVector[Double]
Projects a spherical function.
-
def
project(f: SphericalFunction[Double], samples: SHProjectionSamples): DenseVector[Double]
Projects a spherical function.
-
def
project(v: Vector[_3D], shOrder: Int): DenseVector[Double]
Project a directed impulse.
-
def
projectZH(f: (Double) ⇒ Double, samples: SHProjectionSamples): ZH
Projects a rotationally symmetric spherical function into its zonal harmonics representation.
- implicit val sincWindow: Sinc.type
- object SH extends Serializable
- object SHProjectionSamples extends Serializable
- object SHRotation extends Serializable
- object SHWindow
- object ZH extends Serializable