Package nom.tam.fits

Examples of nom.tam.fits.ImageHDU


     * @param ar a 2D array of a primitive numeric type (doubles not supported yet)
     */
    public FITSImage(final Object ar) throws IOException, FitsException {
        ImageData data = new ImageData(ar);
        Header header = new Header(data);
        ImageHDU hdu = new ImageHDU(header, data);
        _fits = new Fits();
        _fits.addHDU(hdu);

        // Default to the primary HDU
        setHDU(0);
View Full Code Here

TOP

Related Classes of nom.tam.fits.ImageHDU

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.