|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthealpix.core.HealpixIndex
Field Summary | |
double |
fact1
|
double |
fact2
|
int |
ncap
|
int |
nl2
|
int |
nl3
|
int |
nl4
|
int |
npface
|
int |
npix
|
static int |
ns_max
|
int |
nside
|
static double |
pi
|
static double |
piover2
|
static double |
twopi
|
static double |
z0
|
Constructor Summary | |
HealpixIndex()
|
|
HealpixIndex(int nside)
|
Method Summary | |
static double[] |
ang(edu.jhu.htm.core.Vector3d vec)
|
int |
ang2pix_nest(double theta,
double phi)
renders the pixel number ipix (NESTED scheme) for a pixel which contains a point on a sphere at coordinates theta and phi, given the map resolution parametr nside the computation is made to the highest resolution available (nside=8192) and then degraded to that required (by integer division) this doesn't cost more, and it makes sure that the treatement of round-off will be consistent for every resolution |
int |
ang2pix_ring(double theta,
double phi)
renders the pixel number ipix (RING scheme) for a pixel which contains a point on a sphere at coordinates theta and phi, given the map resolution parametr nside the computation is made to the highest resolution available (nside=8192) and then degraded to that required (by integer division) this doesn't cost more, and it makes sure that the treatement of round-off will be consistent for every resolution |
edu.jhu.htm.core.Vector3d[] |
corners_nest(int pix,
int step)
|
edu.jhu.htm.core.Vector3d[] |
corners_ring(int pix,
int step)
return set of points along the boundary of the given pixel step 1 gives 4 points on the corners |
protected void |
init()
|
double[] |
integration_limits_in_costh(int i_th)
|
protected static void |
mkpix2xy()
Initialize pix2x and pix2y constructs the array giving x and y in the face from pixel number for the nested (quad-cube like) ordering of pixels the bits corresponding to x and y are interleaved in the pixel number one breaks up the pixel number by even and odd bits |
protected static void |
mkxy2pix()
Initialize x2pix and y2pix |
int |
nest2ring(int ipnest)
performs conversion from NESTED to RING pixel number |
double[] |
pix2ang_nest(int ipix)
Convert from pix number to angle renders theta and phi coordinates of the nominal pixel center for the pixel number ipix (NESTED scheme) given the map resolution parameter nside |
double[] |
pix2ang_ring(int ipix)
Convert from pix number to angle renders theta and phi coordinates of the nominal pixel center for the pixel number ipix (RING scheme) given the map resolution parameter nside |
edu.jhu.htm.core.Vector3d |
pix2vec_nest(int pix)
|
edu.jhu.htm.core.Vector3d |
pix2vec_ring(int pix)
|
java.awt.Point |
pix2xy_nest(int ipix)
Convert from pix number to x,y inside a given face. |
java.awt.Point |
pix2xy_nestface(int ipix)
Convert from pix number to x,y inside a given face. |
double[] |
pixel_boundaries(double i_th,
double i_phi,
int i_zone,
double cos_theta)
calculate the points of crosing for a given theata on the boundaries of the pixel - returns the left and right phi crosings |
int |
ring(int ipix)
return ring number for given pix in ring scheme |
int |
ring2nest(int ipring)
performs conversion from RING to NESTED pixel number |
int |
vec2pix_nest(edu.jhu.htm.core.Vector3d vec)
unit vector to pix number |
int |
vec2pix_ring(edu.jhu.htm.core.Vector3d vec)
|
static edu.jhu.htm.core.Vector3d |
vector(double theta,
double phi)
|
int |
xy2pix_nest(int ix,
int iy)
Convert from a x,y in a given face to a pix number in a face withour offset. |
int |
xy2pix_nest(int ix,
int iy,
int face)
Convert from a x,y in a given face to a pix number. |
int |
xy2pix_nest(java.awt.Point p,
int face)
Convert from a point in a given face to a pix number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final double piover2
public static final double pi
public static final double twopi
public static final int ns_max
public static final double z0
public int nside
public int nl2
public int nl3
public int nl4
public int npface
public int npix
public int ncap
public double fact1
public double fact2
Constructor Detail |
public HealpixIndex()
public HealpixIndex(int nside) throws java.lang.Exception
Method Detail |
protected void init()
protected static void mkpix2xy()
protected static void mkxy2pix()
public int ang2pix_nest(double theta, double phi) throws java.lang.Exception
java.lang.Exception
public double[] pix2ang_nest(int ipix) throws java.lang.Exception
java.lang.Exception
public double[] pix2ang_ring(int ipix) throws java.lang.Exception
java.lang.Exception
public int ang2pix_ring(double theta, double phi) throws java.lang.Exception
java.lang.Exception
public int nest2ring(int ipnest) throws java.lang.Exception
java.lang.Exception
public int ring2nest(int ipring) throws java.lang.Exception
java.lang.Exception
public java.awt.Point pix2xy_nest(int ipix) throws java.lang.Exception
java.lang.Exception
public int xy2pix_nest(int ix, int iy, int face) throws java.lang.Exception
java.lang.Exception
public int xy2pix_nest(java.awt.Point p, int face) throws java.lang.Exception
java.lang.Exception
public int xy2pix_nest(int ix, int iy) throws java.lang.Exception
java.lang.Exception
public java.awt.Point pix2xy_nestface(int ipix) throws java.lang.Exception
java.lang.Exception
public double[] integration_limits_in_costh(int i_th)
public double[] pixel_boundaries(double i_th, double i_phi, int i_zone, double cos_theta)
public int ring(int ipix) throws java.lang.Exception
java.lang.Exception
public static edu.jhu.htm.core.Vector3d vector(double theta, double phi)
public static double[] ang(edu.jhu.htm.core.Vector3d vec)
public int vec2pix_nest(edu.jhu.htm.core.Vector3d vec) throws java.lang.Exception
java.lang.Exception
public int vec2pix_ring(edu.jhu.htm.core.Vector3d vec) throws java.lang.Exception
java.lang.Exception
public edu.jhu.htm.core.Vector3d pix2vec_nest(int pix) throws java.lang.Exception
java.lang.Exception
public edu.jhu.htm.core.Vector3d pix2vec_ring(int pix) throws java.lang.Exception
java.lang.Exception
public edu.jhu.htm.core.Vector3d[] corners_nest(int pix, int step) throws java.lang.Exception
java.lang.Exception
public edu.jhu.htm.core.Vector3d[] corners_ring(int pix, int step) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |