Class

com.sparkcorr.Tiling

SphereTiling

Related Doc: package Tiling

Permalink

abstract class SphereTiling extends AnyRef

(Abstract) base class for all tilings on the unit sphere There are 4 abstract functions to be implemented

All angles are in radians and follow the mathematical convention for classical spherical coordinates ie. co-latiutde: 0<theta<Pi azimuth: 0<phi<2Pi

Author:

Stephane Plaszczynski

Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SphereTiling
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SphereTiling()

    Permalink

Abstract Value Members

  1. abstract val Nbase: Int

    Permalink

    resolution parameter

  2. abstract val Npix: Long

    Permalink

    number of pixels

  3. abstract def ang2pix(theta: Double, phi: Double): Int

    Permalink

    pixel index from angles on the sphere

    pixel index from angles on the sphere

    theta

    colatitude (0<theta<Pi)

    phi

    azimuth (0<phi<2Pi)

    returns

    pixel index

  4. abstract def neighbours(ipix: Int): Array[Int]

    Permalink

    List of neighbour indices

    List of neighbour indices

    ipix

    pixel index

    returns

    Array of pixel indices (variable size)

  5. abstract def pix2ang(ipix: Int): Array[Double]

    Permalink

    pixel center angles for a given index

    pixel center angles for a given index

    ipix

    pixel index

    returns

    size 2 Array of angles [theta,phi] (see header for conventions)

  6. abstract def pixNums: IndexedSeq[Int]

    Permalink

    list of valid pixel indices for this pixelization (do not assume it is contiguous)

    list of valid pixel indices for this pixelization (do not assume it is contiguous)

    returns

    an indexedseq of indices

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def neighbours8(ipix: Int): Array[Int]

    Permalink

    automatic translation to 8 neighbouring indices putting -1 if there is less.

    automatic translation to 8 neighbouring indices putting -1 if there is less.

    undefined behaviour if more than 8

    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped