Package nom.tam.fits

Examples of nom.tam.fits.ImageData


     * Create a FITSImage from a primitive array of data.
     *
     * @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);

View Full Code Here

TOP

Related Classes of nom.tam.fits.ImageData

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.