![]() |
![]() |
![]() |
|||||||||||||||||
![]() |
![]() |
![]() |
|||||||||||||||||
![]() |
|
![]() |
|||||||||||||||||
![]() |
![]() |
![]() |
![]() |
healpix.core.dm
|
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface healpix.core.dm.AbstractHealpixMap |
---|
AbstractHealpixMap.Scheme |
Method Summary | |
---|---|
void |
add(AngularPosition pos,
double val)
Add a value to a HEALPix cell in the default map. |
void |
add(int i,
AngularPosition pos,
double val)
Add a value to a HEALPix cell in a map |
void |
add(int index,
double val)
Add a value to a HEALPix cell in the default map. |
int |
ang2pix(double theta,
double phi)
Returns the index healpix pixel from an angular position |
void |
average(int n)
Replace each cell value by the average of all values added to the cell. |
void |
convert_nest2ring()
Makes the conversion map NEST to RING |
void |
convert_ring2nest()
makes the conversion map RING to NEST |
double |
get(AngularPosition pos)
Return the value of an HEALPix cell in the default map. |
double |
get(int pixId)
Return the value of an HEALPix cell in the default map. |
double |
get(int imap,
int pixId)
Return the value of an HEALPix cell in the map. |
double[][] |
getMapItemData()
Gets the column(s) data values |
double |
getMax()
Returns maximum value from default map. |
double |
getMax(int i)
Returns maximum value from a map. |
double |
getMin()
Returns minimum value from default map |
double |
getMin(int i)
Returns minimum value from a map. |
double |
mean(int nmap,
int firstPix,
int lastPix)
Average value over data from firstPix to lastPix index |
double[] |
mollpro(int xsize,
double lon0)
Method to get the projected map dependent of the scheme : will obtain xsize as x-dimension of the output-array and lon0 as the longitude (in degrees) |
void |
normalize(int n)
Scale a map by total number of values added, i.e. the sum of all cell values amounts to one after the operation |
AngularPosition |
pix2ang(long ipix)
Returns the angular position AngularPosition pointing at that
pixel index in the healpix sphere tesslated |
HealpixMap |
regrade(int nside)
Down/Upgrade the map resolution |
void |
scale(int n,
double f)
Scale each cell value by the given value. |
void |
setValueCell(int ipix,
double val)
Sets the value val into the cell numbered ipix in default map |
void |
setValueCell(int nmap,
int ipix,
double val)
Sets the value val into the cell numbered ipix in nmap map |
void |
toDataSet(String name)
Write generated maps to a FITS data set. |
Methods inherited from interface healpix.core.dm.AbstractHealpixMap |
---|
getImap, getName, getScheme, nPixel, nside, setImap, setName, setScheme |
Method Detail |
---|
int ang2pix(double theta, double phi) throws Exception
theta
- angle (along meridian), in [0,Pi], theta=0 : north polephi
- angle (along parallel), in [0,2*Pi]
Exception
AngularPosition pix2ang(long ipix) throws Exception
AngularPosition
pointing at that
pixel index in the healpix sphere tesslated
ipix
- the index pixel to get the angular position
Exception
void add(AngularPosition pos, double val)
pos
- Position of HEALPix cell whose value is to be incremented -
spherical coordinates (0<=theta<=pi; 0<=phi<=2pi).val
- Value to add to the HEALPix cell.double get(AngularPosition pos)
pos
- Position of HEALPix cell whose value is to be incremented -
spherical coordinates (0<=theta<=pi; 0<=phi<=2pi).
double get(int imap, int pixId)
imap
- Map index in the range 0 to number of maps-1pixId
- Pixel id.
double get(int pixId)
pixId
- Pixel id.
void add(int index, double val)
index
- Pixel Id.val
- Value to add to the HEALPix cell.void add(int i, AngularPosition pos, double val)
i
- Map index in the range 0 to number of maps-1pos
- Position of HEALPix cell whose value is to be incremented -
spherical coordinates (0<=theta<=pi; 0<=phi<=2pi).val
- Value to add to the HEALPix cell.void normalize(int n)
n
- Index of map to normalise.void average(int n)
n
- Index of map.void scale(int n, double f)
n
- Index of mapf
- Value to multiply by.void toDataSet(String name) throws Exception
name
- Name of the data set.
Exception
double getMin()
double getMax()
double getMax(int i)
i
- a map index from 0 to nMap-1
double getMin(int i)
i
- a map index from 0 to nMap-1
void setValueCell(int nmap, int ipix, double val)
nmap
- the nth mapipix
- the ith pixelval
- the double value to setvoid setValueCell(int ipix, double val)
ipix
- the ith pixelval
- the double value to setdouble[] mollpro(int xsize, double lon0)
HealpixMap regrade(int nside)
nside
- resolution number
HealpixMap
void convert_ring2nest() throws Exception
Exception
void convert_nest2ring() throws Exception
Exception
double mean(int nmap, int firstPix, int lastPix)
nmap
- the ith mapfirstPix
- first pixel index to countlastPix
- last pixel index to count
double[][] getMapItemData()
|
"Built from revision exported" | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
![]() |
![]() |
||||
![]() |
|
![]() |
||||
![]() |
![]() |
![]() |
||||
![]() |
|
![]() |
||||
![]() |
![]() |
![]() |
||||
![]() |
![]() |
![]() |