Package net.ivoa.fits.data

Examples of net.ivoa.fits.data.ImageData


  public Data manufactureData() throws FitsException {
    return manufactureData(myHeader);
  }

  public static Data manufactureData(Header hdr) throws FitsException {
    return new ImageData(hdr);
  }
View Full Code Here


    return h;
  }

  /** Encapsulate an object as an ImageHDU. */
  public static Data encapsulate(Object o) throws FitsException {
    return new ImageData(o);
  }
View Full Code Here

      throws FitsException {
    ImageHDU ret;
    try {
      ImageTiler tiler = getTiler();
      Object tile = tiler.getTile(offset, size);
      ret = new ImageHDU(this.getHeader(), new ImageData(tile));

      Header retHeader = ret.getHeader();
      for (int i = 0; i < offset.length; i++) {
        retHeader.addValue(Header.NAXIS + (i + 1), size[i], "Axis "
            + (i + 1) + " size");
View Full Code Here

TOP

Related Classes of net.ivoa.fits.data.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.