Index

A B C D G H I M N P Q R S V X 
All Classes and Interfaces|All Packages|Serialized Form

A

ang2pix_nest(long, double, double) - Method in class gov.fnal.eag.healpix.PixTools
renders the pixel number pix (NESTED scheme) for a pixel which contains a point on a sphere at coordinates theta and phi, given map resolution parameter nside.
ang2pix_ring(long, double, double) - Method in class gov.fnal.eag.healpix.PixTools
renders the pixel number ipix (RING scheme) for a pixel which contains a point with coordinates theta and phi, given the map resolution parameter nside.
Ang2Vec(double, double) - Method in class gov.fnal.eag.healpix.PixTools
calculates vector corresponding to angles theta (co-latitude measured from North pole, in [0,pi] radians) phi (longitude measured eastward in [0,2pi] radians) North pole is (x,y,z) = (0, 0, 1)
AngDist(Vector3d, Vector3d) - Method in class gov.fnal.eag.healpix.PixTools
calculates angular distance (in radians) between 2 Vectors v1 and v2 In general dist = acos(v1.v2) except if the vectors are almost aligned

B

BitManipulation - Class in gov.fnal.eag.healpix
bit manipulation class derived from Healpix fortran90 program.
BitManipulation() - Constructor for class gov.fnal.eag.healpix.BitManipulation
 

C

convert_inplace_long(String, Object[]) - Method in class gov.fnal.eag.healpix.PixTools
converts a 8 byte Object map from RING to NESTED and vice versa in place, ie without allocation a temporary map (Has no reason for Java).
convert_nest2ring(long, Object[]) - Method in class gov.fnal.eag.healpix.PixTools
make the conversion NEST to RING
convert_ring2nest(long, Object[]) - Method in class gov.fnal.eag.healpix.PixTools
makes the conversion RING to NEST
crossProduct(Vector3d, Vector3d) - Method in class gov.fnal.eag.healpix.PixTools
calculate cross product of two vectors

D

dotProduct(Vector3d, Vector3d) - Method in class gov.fnal.eag.healpix.PixTools
calculates a dot product (inner product) of two 3D vectors the result is double

G

getDisc_ring(long, Vector3d, double) - Method in class gov.fnal.eag.healpix.PixTools
an obsolete method.
getInstance() - Static method in class gov.fnal.eag.healpix.PixTools
Returns singleton instance.
GetNSide(double) - Method in class gov.fnal.eag.healpix.PixTools
calculate requared nside given pixel size in arcsec
getPolReg() - Method in class gov.fnal.eag.healpix.Region
provides polar coordinates of the region vertices
getVertices() - Method in class gov.fnal.eag.healpix.Region
 
gov.fnal.eag.healpix - package gov.fnal.eag.healpix
 

H

HealpixException - Exception in gov.fnal.eag.healpix
handles exceptions from this package
HealpixException(String) - Constructor for exception gov.fnal.eag.healpix.HealpixException
message - String to be printed in case of exception

I

inReg(double, double) - Method in class gov.fnal.eag.healpix.Region
return true if the point ra,dec is inside region
inRegPol(double, double) - Method in class gov.fnal.eag.healpix.Region
return true if point phi, theta is inside region
InRing(long, long, double, double, boolean) - Method in class gov.fnal.eag.healpix.PixTools
returns the list of pixels in RING or NEST scheme with latitude in [phi0 - dpi, phi0 + dphi] on the ring iz in [1, 4*nside -1 ] The pixel id numbers are in [0, 12*nside^2 - 1] the indexing is in RING, unless nest is set to 1
intrs_intrv(double[], double[]) - Method in class gov.fnal.eag.healpix.PixTools
computes the intersection di of 2 intervals d1 (= [a1,b1]) and d2 (= [a2,b2]) on the periodic domain (=[A,B] where A and B arbitrary) ni is the resulting number of intervals (0,1, or 2) if a1 <b1 then d1 = {x |a1 <= x <= b1} if a1>b1 then d1 = {x | a1 <=x <= B U A <=x <=b1}
invLSB(long) - Static method in class gov.fnal.eag.healpix.BitManipulation
returns i with even bits inverted
invMSB(long) - Static method in class gov.fnal.eag.healpix.BitManipulation
returns i with odd bits inverted
invswapLSBMSB(long) - Static method in class gov.fnal.eag.healpix.BitManipulation
returns NOT i with even and odd bit positions interchanged

M

main(String[]) - Static method in class gov.fnal.eag.healpix.BitManipulation
the main program for simple test
MODULO(double, double) - Static method in class gov.fnal.eag.healpix.BitManipulation
simulates behaviour of fortran90 MODULO function

N

neighbours_nest(long, long) - Method in class gov.fnal.eag.healpix.PixTools
returns 7 or 8 neighbours of any pixel in the nested scheme The neighbours are ordered in the following way: First pixel is the one to the south ( the one west of the south direction is taken for pixels that don't have a southern neighbour).
nest2ring(long, long) - Method in class gov.fnal.eag.healpix.PixTools
converts from NESTED to RING pixel numbering
next_in_line_nest(long, long) - Method in class gov.fnal.eag.healpix.PixTools
calculates the pixel that lies on the East side (and the same latitude) as the given NESTED pixel number - ipix
Npix2Nside(long) - Method in class gov.fnal.eag.healpix.PixTools
returns nside such that npix = 12*nside^2, nside should be power of 2 and smaller than ns_max if not return -1
Nside2Npix(long) - Method in class gov.fnal.eag.healpix.PixTools
calculates npix such that npix = 12*nside^2 ,nside should be a power of 2, and smaller than ns_max otherwise return -1

P

pix2ang_nest(long, long) - Method in class gov.fnal.eag.healpix.PixTools
Renders theta and phi coordinates of the normal pixel center for the pixel number ipix (NESTED scheme) given the map resolution parameter nside.
pix2ang_ring(long, long) - Method in class gov.fnal.eag.healpix.PixTools
renders theta and phi coordinates of the nominal pixel center for the pixel number ipix (RING scheme) given the map resolution parameter nside
pix2vect_nest(long, long) - Method in class gov.fnal.eag.healpix.PixTools
renders vector (x,y,z) coordinates of the nominal pixel center for the pixel ipix (NESTED scheme ) given the map resolution parameter nside.
pix2vect_ring(long, long) - Method in class gov.fnal.eag.healpix.PixTools
returns the vector pointing in the center of the pixel ipix.
pix2vertex_nest(long, long) - Method in class gov.fnal.eag.healpix.PixTools
renders vector (x,y,z) coordinates of the nominal pixel center for the pixel ipix (NESTED scheme ) given the map resolution parameter nside.
pix2vertex_ring(long, long) - Method in class gov.fnal.eag.healpix.PixTools
returns double [][] with coordinates of the pixel corners.
pixelize(double) - Method in class gov.fnal.eag.healpix.Region
divides region on HealPix pixels of given size including pixels that only partly inside the region
PixRes(long) - Method in class gov.fnal.eag.healpix.PixTools
calculates angular resolution of the pixel map in arc seconds.
PixTools - Class in gov.fnal.eag.healpix
contains methods translated from HEALPix Fortran90 with increased map resolution in comparison to original Fortran code.
PixTools() - Constructor for class gov.fnal.eag.healpix.PixTools
default constructor
PolarToRaDec(double[]) - Method in class gov.fnal.eag.healpix.PixTools
returns ra, dec in degrees given polar coordinates in radians

Q

query_disc(long, Vector3d, double, int, int) - Method in class gov.fnal.eag.healpix.PixTools
generates in the RING or NESTED scheme all pixels that lays within an angular distance Radius of the center.
query_polygon(long, ArrayList, long, long) - Method in class gov.fnal.eag.healpix.PixTools
finds pixels that lay within a CONVEX polygon defined by its vertex on sphere
query_ring(long, Vector3d, double, int, int) - Method in class gov.fnal.eag.healpix.PixTools
generates in the RING or NESTED scheme all pixels that lays at an angular distance Radius of the center.
query_strip(long, double, double, long) - Method in class gov.fnal.eag.healpix.PixTools
finds pixels having a colatitude (measured from North pole) : theta1 < colatitude < theta2 with 0 <= theta1 < theta2 <= Pi if theta2 < theta1 then pixels with 0 <= colatitude < theta2 or theta1 < colatitude < Pi are returned
query_triangle(long, Vector3d, Vector3d, Vector3d, long, long) - Method in class gov.fnal.eag.healpix.PixTools
generates a list of pixels that lay inside a triangle defined by the three vertex vectors

R

RaDecToPolar(double[]) - Method in class gov.fnal.eag.healpix.PixTools
returns polar coordinates in radians given ra, dec in degrees
Region - Class in gov.fnal.eag.healpix
 
Region(double, double, double, double) - Constructor for class gov.fnal.eag.healpix.Region
default constructor
ring2nest(long, long) - Method in class gov.fnal.eag.healpix.PixTools
converts pixel number from ring numbering schema to the nested one
RingNum(long, double) - Method in class gov.fnal.eag.healpix.PixTools
returns the ring number in {1, 4*nside - 1} calculated from z coordinate

S

SurfaceTriangle(Vector3d, Vector3d, Vector3d) - Method in class gov.fnal.eag.healpix.PixTools
calculates the surface of spherical triangle defined by vertices v1,v2,v3 Algorithm: finds triangle sides and uses l'Huilier formula to compute "spherical excess" = surface area of triangle on a sphere of radius one see, eg Bronshtein, Semendyayev Eq 2.86 half perimeter hp = 0.5*(side1+side2+side3) l'Huilier formula x0 = tan( hp/2.) x1 = tan((hp - side1)/2.) x2 = tan((hp - side2)/2.) x3 = tan((hp - side3)/2.)
swapLSBMSB(long) - Static method in class gov.fnal.eag.healpix.BitManipulation
swaps low and high bits in the word i

V

Vect2Ang(Vector3d) - Method in class gov.fnal.eag.healpix.PixTools
converts a Vector3d in a tuple of angles tup[0] = theta co-latitude measured from North pole, in [0,PI] radians, tup[1] = phi longitude measured eastward, in [0,2PI] radians
vect2pix_nest(long, Vector3d) - Method in class gov.fnal.eag.healpix.PixTools
renders the pixel number pix (NESTED scheme) for a pixel which contains a point on a sphere at coordinate vector (x,y,z), given the map resolution parameter nside.
vect2pix_ring(long, Vector3d) - Method in class gov.fnal.eag.healpix.PixTools
renders the pixel number ipix (RING scheme) for a pixel which contains a point on a sphere at coordinate vector (x,y,z), given the map resolution parameter nside
VectProd(Vector, Vector) - Method in class gov.fnal.eag.healpix.PixTools
calculates a vector production of two vectors.

X

xyzToPolar(double, double, double) - Method in class gov.fnal.eag.healpix.PixTools
returns polar coordinates of a point on unit sphere given Cartesian coordinates
A B C D G H I M N P Q R S V X 
All Classes and Interfaces|All Packages|Serialized Form