Examples of BinaryTableHDU


Examples of nom.tam.fits.BinaryTableHDU

     * @param filename The name of the FITS file
     * @param fits object to use for FITS I/O
     * @param navigator window object managing the table display and plotting
     */
    public static void plotTables(String filename, Fits fits, Navigator navigator) throws FitsException, IOException {
        BinaryTableHDU hdu = findBinaryTableHDU(fits, CATINFO);
        if (hdu == null) {
            return;
        }
        int nrows = hdu.getNRows();
        for (int rowIndex = 0; rowIndex < nrows; rowIndex++) {
            Object[] row = hdu.getRow(rowIndex);
            String name = (String) row[0];
            _plotTable(filename, fits, navigator, name);
        }
    }
View Full Code Here

Examples of nom.tam.fits.BinaryTableHDU

     * @param filename The name of the FITS file
     * @param fits object to use for FITS I/O
     * @param name the name of the table to plot (FITS keyword EXTNAME)
     */
    private static TableQueryResult _findTable(String filename, Fits fits, String name) throws FitsException, IOException {
        BinaryTableHDU hdu = findBinaryTableHDU(fits, name);
        if (hdu == null) {
            return null;
        }

        return getTable(filename, fits, hdu);
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.