Package jsky.catalog.skycat

Examples of jsky.catalog.skycat.SkycatConfigEntry


        properties.setProperty(SkycatConfigFile.SYMBOL,
                "{{FWHM_X} {FWHM_Y} {Angle}} "
                        + "{{plus} {green} {$FWHM_X/$FWHM_Y} {$Angle} {} {1}} "
                        + "{{($FWHM_X+$FWHM_Y)*0.5} {image}}");
        properties.setProperty(SkycatConfigFile.URL, "none");
        SkycatConfigEntry configEntry = new SkycatConfigEntry(properties);
        FieldDesc[] fields = PickObjectStatistics.getFields();

        Vector<Vector<Object>> dataRows = new Vector<Vector<Object>>();
        dataRows.add(stats.getRow());
        SkycatTable table = new SkycatTable(configEntry, dataRows, fields);
View Full Code Here


        }

        // look for a skycat catalog configuration entry for this table in another
        // FITS table with the name "CATINFO".
        try {
            SkycatConfigEntry entry = findConfigEntry(fits);
            if (entry != null) {
                setConfigEntry(entry);
            }
        } catch (Exception e) {
            DialogUtil.error(e);
View Full Code Here

            String value = (String) row[colIndex];
            if (value.length() != 0) {
                properties.setProperty(hdu.getColumnName(colIndex).toLowerCase(), value);
            }
        }
        return new SkycatConfigEntry(properties);
    }
View Full Code Here

        // add a new row for the given table
        Object[] row = new Object[ncols];
        row[0] = name;  // use the given name rather than the original one
        if (table instanceof SkycatTable) {
            SkycatConfigEntry entry = ((SkycatTable) table).getConfigEntry();
            Properties properties = entry.getProperties();
            for (int colIndex = 1; colIndex < ncols; colIndex++) {
                String value = properties.getProperty(CATINFO_COLUMNS[colIndex].toLowerCase());
                if (value != null) {
                    row[colIndex] = value;
                } else {
View Full Code Here

TOP

Related Classes of jsky.catalog.skycat.SkycatConfigEntry

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.