Package healpix.essentials
Class MocFitsIO
java.lang.Object
healpix.essentials.MocFitsIO
Moc FITS I/O routines.
- Author:
- Martin Reinecke
- Copyright:
- 2014-2015 Max-Planck-Society
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Moc
mocFromFits
(InputStream inp) Converts the contents of a FITS input stream to a MOC.static Moc
mocFromFits
(String filename) Converts the contents of a FITS file to a MOC.static void
mocToFits
(Moc moc, OutputStream out) Writes the provided Moc to the stream in FITS format.static void
Writes the provided Moc to the specified file in FITS format.
-
Constructor Details
-
MocFitsIO
public MocFitsIO()
-
-
Method Details
-
mocFromFits
Converts the contents of a FITS input stream to a MOC.- Throws:
Exception
-
mocFromFits
Converts the contents of a FITS file to a MOC.- Throws:
Exception
-
mocToFits
Writes the provided Moc to the stream in FITS format.- Throws:
Exception
-
mocToFits
Writes the provided Moc to the specified file in FITS format.- Throws:
Exception
-