|
|||||||||||||||||||
healpix.core
|
Field Summary | |
---|---|
static int |
ns_max
The Constant ns_max. |
Constructor Summary | |
---|---|
Healpix()
|
Method Summary | |
---|---|
static int |
ang2pix_nest(int nside,
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 |
static int |
ang2pix_ring(int nside,
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 |
int[] |
in_ring(int nside,
int iz,
double phi0,
double dphi,
boolean nest)
returns the list of pixels in RING or NESTED scheme (listir) with latitude in [phi0-dphi, phi0+dphi] on the ring ir (in {1,4*nside-1}) the pixel id-numbers are in {0,12*nside^2-1} the indexing is RING, unless NEST is set to true |
static double[] |
integration_limits_in_costh(int n_side,
int i_th)
integration limits in cos(theta) for a given ring i_th, i_th > 0 |
static int |
nest2ring(int nside,
int ipnest)
performs conversion from NESTED to RING pixel number |
static AngularPosition |
pix2ang_nest(int nside,
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 |
static AngularPosition |
pix2ang_ring(int nside,
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 * |
static Point |
pix2xy_nest(int ipix)
Convert from pix number to x,y inside a given face. 0,0 is the lower right corner of the face. |
static Point |
pix2xy_nest(int nside,
int ipix)
Convert from pix number to x,y inside a given face. 0,0 is the lower right corner of the face. |
static double[] |
pixel_boundaries(int nside,
double i_th,
double i_phi,
int i_zone,
double cos_theta)
calculate the points of crossing for a given theta on the boundaries of the pixel - returns the left and right phi crossings |
int[] |
query_disc(int nside,
SpatialVector vector0,
double radius,
boolean nest,
boolean inclusive)
query_disc (Nside, Vector0, Radius, Listpix, Nlist[, Nest, Inclusive]). |
int |
ring_num(int nside,
double z)
returns the ring number in {1, 4*nside-1} from the z coordinate. |
static int |
ring(int nside,
int ipix)
return ring number for given pix in ring scheme |
static int |
ring2nest(int nside,
int ipring)
performs conversion from RING to NESTED pixel number |
static int |
xy2pix_nest(int ix,
int iy)
Convert from a x,y in a given face to a pix number in a face without offset. |
static int |
xy2pix_nest(int nside,
int ix,
int iy,
int face)
Convert from a x,y in a given face to a pix number. |
static int |
xy2pix_nest(int nside,
Point p,
int face)
Convert from a point in a given face to a pix number. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ns_max
Constructor Detail |
---|
public Healpix()
Method Detail |
---|
public static final int ang2pix_nest(int nside, double theta, double phi) throws Exception
nside
- resolution parametertheta
- angle (along meridian), in [0,Pi], theta=0 : north polephi
- angle (along parallel), in [0,2*Pi] * @return pixel index nested
Exception
public static final AngularPosition pix2ang_nest(int nside, int ipix) throws Exception
nside
- resolution parameteripix
- index in nest scheme
Exception
public static final AngularPosition pix2ang_ring(int nside, int ipix) throws Exception
nside
- resolution parameteripix
- index in ring scheme
Exception
public static final int ang2pix_ring(int nside, double theta, double phi) throws Exception
nside
- resolution parametertheta
- angle (along meridian), in [0,Pi], theta=0 : north polephi
- angle (along parallel), in [0,2*Pi]
Exception
public static final int nest2ring(int nside, int ipnest) throws Exception
nside
- resolution parameteripnest
- index in nested scheme
Exception
public static final int ring2nest(int nside, int ipring) throws Exception
nside
- resolution parameteripring
- index pixel in ring scheme
Exception
public static final Point pix2xy_nest(int nside, int ipix) throws Exception
public static final int xy2pix_nest(int nside, int ix, int iy, int face) throws Exception
nside
- resolution parameterix
- x poisitoniy
- y positionface
- face number
Exception
public static final int xy2pix_nest(int nside, Point p, int face) throws Exception
nside
- resolution parameterp
- x,y point objectface
- face number
Exception
public static final int xy2pix_nest(int ix, int iy) throws Exception
ix
- x positioniy
- y position
Exception
public static final Point pix2xy_nest(int ipix) throws Exception
public static final double[] integration_limits_in_costh(int n_side, int i_th)
n_side
- resolution parameteri_th
- ith ring
public static final double[] pixel_boundaries(int nside, double i_th, double i_phi, int i_zone, double cos_theta)
nside
- resolution parameteri_th
- ith pixeli_phi
- phi anglei_zone
- ith zone (0,...,3), a quarter of spherecos_theta
- theta cosinus
public static final int ring(int nside, int ipix) throws Exception
nside
- resolution parameteripix
- index pixel in ring scheme
Exception
public int[] in_ring(int nside, int iz, double phi0, double dphi, boolean nest) throws Exception
nside
- resolution parameteriz
- ring numberphi0
- phi angledphi
- delta phinest
- scheme flag: nest scheme if true, ring scheme otherwise
Exception
public int[] query_disc(int nside, SpatialVector vector0, double radius, boolean nest, boolean inclusive) throws Exception
nside
- resolution parametervector0
- SpatialVector
poitnig to discradius
- disc radiusnest
- scheme nest if trueinclusive
- include disc flag
Exception
public int ring_num(int nside, double z)
nside
- resoultion parameterz
- z coordinate
|
"Built from revision exported" | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
||||||
|
||||||