case class SH(sh: DenseVector[Double]) extends SphericalFunction[Double] with Product with Serializable
SH expansion of a spherical function.
- sh
The SH coefficients for the expansion. Must contain n² (n > 0) elements.
- Alphabetic
- By Inheritance
- SH
- Serializable
- Serializable
- Product
- Equals
- SphericalFunction
- Function1
- Function2
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SH(sh: DenseVector[Double])
- sh
The SH coefficients for the expansion. Must contain n² (n > 0) elements.
Type Members
-
sealed
case class
RotatedSphericalFunction
(rotation: DenseMatrix[Double], innerFunction: SphericalFunction[A]) extends SphericalFunction[A] with Product with Serializable
A rotated version of another spherical function such that f_new(rotation * v) = f(v) or equivalently f_new(v) = f(inv(rotation) * v)
A rotated version of another spherical function such that f_new(rotation * v) = f(v) or equivalently f_new(v) = f(inv(rotation) * v)
- Definition Classes
- SphericalFunction
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andThen[A](g: (Double) ⇒ A): (Vector3D) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(v: Vector3D): Double
Evaluates this SH expansion for the specified direction.
Evaluates this SH expansion for the specified direction.
- Definition Classes
- SH → SphericalFunction → Function1
-
def
apply(v: Vector[_3D]): Double
Evaluates this SH expansion for the specified direction.
-
def
apply(theta: Double, phi: Double): Double
- Definition Classes
- SphericalFunction → Function2
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
average: Double
The first SH coefficient referring to the unweighted average of the represented funciton.
-
def
bands: Int
The number of SH bands that this expansion uses.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
compose[A](g: (A) ⇒ Vector3D): (A) ⇒ Double
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
curried: (Double) ⇒ (Double) ⇒ Double
- Definition Classes
- Function2
- Annotations
- @unspecialized()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getZonalHarmonics: ZH
Returns the rotationally symmetric (m = 0) components of this SH expansion.
Returns the rotationally symmetric (m = 0) components of this SH expansion.
- returns
An instance of ZH.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (Double) ⇒ B): SphericalFunction[B]
Returns the composite of this spherical function with the function provided int
Returns the composite of this spherical function with the function provided int
- Definition Classes
- SphericalFunction
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
normalized: DenseVector[Double]
Returns a scaled version of this spherical harmonic such that its average value over the whole sphere is 1.
Returns a scaled version of this spherical harmonic such that its average value over the whole sphere is 1.
- returns
A DenseVector representing a scaled version of this function with an average value of 1.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
rotate(rotation: Rotation3D): RotatedSphericalFunction
Returns a rotated version of this spherical function such that f_new(rotation * v) = f(v) or equivalently f_new(v) = f(inv(rotation) * v)
Returns a rotated version of this spherical function such that f_new(rotation * v) = f(v) or equivalently f_new(v) = f(inv(rotation) * v)
- Definition Classes
- SphericalFunction
-
def
rotate(rotation: DenseMatrix[Double]): RotatedSphericalFunction
Returns a rotated version of this spherical function such that f_new(rotation * v) = f(v) or equivalently f_new(v) = f(inv(rotation) * v)
Returns a rotated version of this spherical function such that f_new(rotation * v) = f(v) or equivalently f_new(v) = f(inv(rotation) * v)
- Definition Classes
- SphericalFunction
- val sh: DenseVector[Double]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
def
tupled: ((Double, Double)) ⇒ Double
- Definition Classes
- Function2
- Annotations
- @unspecialized()
-
def
valueAt(v: Vector3D): Double
Evaluates this SH expansion for the specified direction.
-
def
valueAt(v: Vector[_3D]): Double
Evaluates this SH expansion for the specified direction.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def windowed(implicit shWindow: SHWindow): DenseVector[Double]