Package net.ivoa.fits.data

Examples of net.ivoa.fits.data.Data


    if (hdr == null) {
      atEOF = true;
      return null;
    }

    Data datum = hdr.makeData();
    datum.read(dataStr);
    BasicHDU nextHDU = FitsFactory.HDUFactory(hdr, datum);

    hduList.addElement(nextHDU);
    return nextHDU;
  }
View Full Code Here


   *
   * @param h
   *            The header which describes the FITS extension
   */
  public static BasicHDU makeHDU(Header h) throws FitsException {
    Data d = FitsFactory.dataFactory(h);
    return FitsFactory.HDUFactory(h, d);
  }
View Full Code Here

   *
   * @param o
   *            The object to be described.
   */
  public static BasicHDU HDUFactory(Object o) throws FitsException {
    Data d;
    Header h;
    if (ImageHDU.isData(o)) {
      d = ImageHDU.encapsulate(o);
      h = ImageHDU.manufactureHeader(d);
    } else if (RandomGroupsHDU.isData(o)) {
View Full Code Here

TOP

Related Classes of net.ivoa.fits.data.Data

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.