healpix.tools
Class HealpixMapCreator

java.lang.Object
  extended by healpix.tools.HealpixMapCreator

public class HealpixMapCreator
extends Object

A HealpixMap creator. This is a convenience factory to get an empty map or to load a map from a fits file.

Version:
$Id: HealpixMapCreator.java 56224 2008-07-30 07:30:00Z ejoliet $
Author:
ejoliet

Field Summary
 String[] colname
          The colname.
 
Constructor Summary
HealpixMapCreator()
          Instantiates a new healpix map creator.
HealpixMapCreator(int nside)
          Create an HEALPix map with given depth HealpixMap.
HealpixMapCreator(int nside, boolean isEmpty)
          Instantiates a new healpix map creator.
HealpixMapCreator(String fitsname)
          Creates a HealpixMap from a fits file.
HealpixMapCreator(String[] mapNames, double[][] mapDouble)
          Creates a HealpixMap from map names and values.
 
Method Summary
 HealpixMap getMap()
          Gets the map.
 void setMap(HealpixMap m)
          Sets the map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colname

public String[] colname
The colname.

Constructor Detail

HealpixMapCreator

public HealpixMapCreator()
Instantiates a new healpix map creator.


HealpixMapCreator

public HealpixMapCreator(String fitsname)
Creates a HealpixMap from a fits file.

Parameters:
fitsname - Fits file name

HealpixMapCreator

public HealpixMapCreator(String[] mapNames,
                         double[][] mapDouble)
Creates a HealpixMap from map names and values.

Parameters:
mapNames - String map names
mapDouble - columns data values

HealpixMapCreator

public HealpixMapCreator(int nside)
Create an HEALPix map with given depth HealpixMap.

Parameters:
nside - - the nside of the map required

HealpixMapCreator

public HealpixMapCreator(int nside,
                         boolean isEmpty)
Instantiates a new healpix map creator.

Parameters:
nside - the nside
isEmpty - the is empty
Method Detail

getMap

public HealpixMap getMap()
Gets the map.

Returns:
the map

setMap

public void setMap(HealpixMap m)
Sets the map.

Parameters:
m - the new map

"Built from revision exported"