NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


healpix.core.dm.util
Class HealpixTool

java.lang.Object
  extended by healpix.core.dm.util.HealpixTool

public class HealpixTool
extends Object

Tools (Regrade) to apply to healpix maps. Could be extended with other tool like comparing maps, combine maps,etc.

Version:
$Id: HealpixTool.java,v 1.1.2.4 2010/02/22 14:55:50 healpix Exp $
Author:
ejoliet

Field Summary
 HealpixMap map_in
          Input HealpixMap
 HealpixMap map_out
          Output HealpixMap result
 
Constructor Summary
HealpixTool()
          Default constructor
HealpixTool(HealpixMap min)
          Creates the tool to regrade an input map
 
Method Summary
 HealpixMap degrade(int nside_out)
          Degrade the HealpixMap to Nside_out.
 void setMapIn(HealpixMap min)
          Sets the input HealpixMap
 void setMapOut(HealpixMap mout)
          Sets the output result HealpixMap
 HealpixMap upgrade(int nside_out)
          Upgrade a healpix map from nside_in to nside_out (>nside_n)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map_in

public HealpixMap map_in
Input HealpixMap


map_out

public HealpixMap map_out
Output HealpixMap result

Constructor Detail

HealpixTool

public HealpixTool(HealpixMap min)
Creates the tool to regrade an input map

Parameters:
min - input map HealpixMap

HealpixTool

public HealpixTool()
Default constructor

Method Detail

upgrade

public HealpixMap upgrade(int nside_out)
                   throws Exception
Upgrade a healpix map from nside_in to nside_out (>nside_n)

Parameters:
nside_out - The nside of the resulting healpix map upgraded (>nside_in)
Returns:
The HealpixMap upgraded.
Throws:
Exception

degrade

public HealpixMap degrade(int nside_out)
                   throws Exception
Degrade the HealpixMap to Nside_out.

Parameters:
nside_out - The NSIDE output resolution.
Returns:
The HealpixMap degraded.
Throws:
Exception

setMapOut

public void setMapOut(HealpixMap mout)
Sets the output result HealpixMap

Parameters:
mout - output map

setMapIn

public void setMapIn(HealpixMap min)
Sets the input HealpixMap

Parameters:
min - the input map

"Built from revision exported"

Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650