Package nom.tam.fits

Examples of nom.tam.fits.BinaryTable


            i++;
        }

        Fits fits = fitsImage.getFits();
        _deleteBinaryTable(fits, extName);
        BinaryTable table = new BinaryTable();
        FitsFactory.setUseAsciiTables(false);
        table.addColumn(typeList.toArray(new String[typeList.size()]));
        table.addColumn(coordList.toArray(new String[coordList.size()]));
        table.addColumn(configList.toArray(new String[configList.size()]));
        BinaryTableHDU hdu = (BinaryTableHDU) Fits.makeHDU(table);
        hdu.getHeader().addValue("EXTNAME", extName, "Contains saved JSkyCat graphics");
        hdu.setColumnName(0, "type", null);
        hdu.setColumnName(1, "coords", null);
        hdu.setColumnName(2, "config", null);
View Full Code Here


        for (int colIndex = 0; colIndex < ncols; colIndex++) {
            row[colIndex] = "-";
        }
        data[newRowIndex] = row;

        BinaryTable binTable = new BinaryTable(data);
        FitsFactory.setUseAsciiTables(false);
        hdu = (BinaryTableHDU) Fits.makeHDU(binTable);
        hdu.getHeader().addValue("EXTNAME", CATINFO, "Contains catalog config info");
        for (int i = 0; i < ncols; i++) {
            hdu.setColumnName(i, CATINFO_COLUMNS[i], null);
View Full Code Here

TOP

Related Classes of nom.tam.fits.BinaryTable

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.