Class Segment

java.lang.Object
org.lsst.fits.imageio.Segment

public class Segment extends Object
Represents one segment (amplifier) of a FITS file
Author:
tonyj
  • Constructor Details

    • Segment

      public Segment(nom.tam.fits.Header header, File file, nom.tam.util.BufferedFile bf, String raftBay, String ccdSlot, char wcsLetter, Map<String,Object> wcsOverride) throws IOException, nom.tam.fits.FitsException
      Throws:
      IOException
      nom.tam.fits.FitsException
  • Method Details

    • getImageSize

      public int getImageSize()
    • getDataSize

      public int getDataSize()
    • getFile

      public File getFile()
    • readRawDataAsync

      public CompletableFuture<RawData> readRawDataAsync(Executor executor)
    • getNAxis1

      public int getNAxis1()
    • getNAxis2

      public int getNAxis2()
    • getWCSTranslation

      public AffineTransform getWCSTranslation(boolean includeOverscan)
    • getDataSec

      public Rectangle getDataSec()
    • getWcs

      public Rectangle2D.Double getWcs()
    • getSegmentName

      public String getSegmentName()
    • getRaftBay

      public String getRaftBay()
    • getCcdSlot

      public String getCcdSlot()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object