Package net.ivoa.fits.data

Examples of net.ivoa.fits.data.AsciiTable.addRow()


    for (int i = 0; i < realCol.length; i += 1) {
      row[0] = new String[]{strCol[i]};
      row[3] = new float[]{realCol[i]};
      row[1] = new int[]{intCol[i]};
      row[2] = new double[]{doubleCol[i]};
      data.addRow(row);
    }
    f.addHDU(Fits.makeHDU(data));

    BufferedFile bf = new BufferedFile("at2.fits", "rw");
    f.write(bf);
View Full Code Here


    for (int i = 0; i < realCol.length; i += 1) {
      row[0] = new String[]{strCol[i]};
      row[3] = new float[]{realCol[i]};
      row[1] = new int[]{intCol[i]};
      row[2] = new double[]{doubleCol[i]};
      data.addRow(row);
    }
    f.addHDU(Fits.makeHDU(data));

    BufferedFile bf = new BufferedFile("test1.fits", "rw");
    f.write(bf);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.