Class/Object

com.sparkcorr.Tiling

CubedSphere

Related Docs: object CubedSphere | package Tiling

Permalink

class CubedSphere extends SphereTiling with Serializable

CubedSphere

Cubed sphere tiling of the sphere with equiangular nodes

There are Nbase2 pixels per face and 6 Nbase2 pixels over the sphere. Nbase is an integer but more robusts results are obtained with even values.

Author:

Stephane Plaszczynski

Note

https://arxiv.org/abs/2012.08455

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

Instance Constructors

  1. new CubedSphere(Nbase: Int)

    Permalink

    creates cubedsphere tiling with resolution Nbase

    creates cubedsphere tiling with resolution Nbase

    Nbase

    Number of points on a face in one dimension (even number).

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. val N: Int

    Permalink

    shorthand for Nbase

    shorthand for Nbase

    Attributes
    protected
  5. val Nbase: Int

    Permalink

    Number of points on a face in one dimension (even number).

    Number of points on a face in one dimension (even number).

    Definition Classes
    CubedSphereSphereTiling
  6. val Npix: Long

    Permalink

    number of pixels

    number of pixels

    Definition Classes
    CubedSphereSphereTiling
  7. def ang2LocalIndex(face: Int, theta: Double, phi: Double): (Int, Int)

    Permalink

    given face and angles returns the local index

  8. 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

    Definition Classes
    CubedSphereSphereTiling
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def coord2pix(f: Int, i: Int, j: Int): Int

    Permalink

    transformation from local CubedSphere coordinates to pixel number

  12. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getFace(p: Point3D): Int

    Permalink

    get face number from Point on the sphere

  17. def getFace(theta: Double, phi: Double): Int

    Permalink

    get face number from angles

  18. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  20. def isValidPix(ipix: Int): Boolean

    Permalink

    check pixel number is valid

  21. val maxIndex: Long

    Permalink

    Largest possible index of the pixelization .

    Largest possible index of the pixelization . Do not use to access data. use CubedSphere.pixNums instead

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. 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)

    Definition Classes
    CubedSphereSphereTiling
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. 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)

    Definition Classes
    CubedSphereSphereTiling
  27. def pix2coord(ipix: Int): (Int, Int, Int)

    Permalink

    transformation from pixel number to local coordinates

  28. 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

    Definition Classes
    CubedSphereSphereTiling
  29. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def writeCenters(fn: String): Unit

    Permalink

    output pixel centers into file

    output pixel centers into file

    fn

    filename

  35. def writeNeighbours(ipix: Int): Unit

    Permalink

    given a pixel number write all neigbour indices into a file named "neighbours.txt"

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

    Definition Classes
    SphereTiling
    Deprecated

Inherited from Serializable

Inherited from SphereTiling

Inherited from AnyRef

Inherited from Any

Ungrouped