shorthand for Nbase
shorthand for Nbase
Number of points on a face in one dimension (even number).
Number of points on a face in one dimension (even number).
number of pixels
number of pixels
given face and angles returns the local index
pixel index from angles on the sphere
pixel index from angles on the sphere
colatitude (0<theta<Pi)
azimuth (0<phi<2Pi)
pixel index
transformation from local CubedSphere coordinates to pixel number
get face number from Point on the sphere
get face number from angles
check pixel number is valid
Largest possible index of the pixelization .
Largest possible index of the pixelization . Do not use to access data. use CubedSphere.pixNums instead
List of neighbour indices
List of neighbour indices
pixel index
Array of pixel indices (variable size)
pixel center angles for a given index
pixel center angles for a given index
pixel index
size 2 Array of angles [theta,phi] (see header for conventions)
transformation from pixel number to local coordinates
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)
an indexedseq of indices
output pixel centers into file
output pixel centers into file
filename
given a pixel number write all neigbour indices into a file named "neighbours.txt"
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
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
https://arxiv.org/abs/2012.08455