astro.fits
Class ShortShuffle

java.lang.Object
  extended by astro.fits.ShortShuffle

public class ShortShuffle
extends Object

Images taken as unsigned short, but transfered as signed short end up with a wrong image data.


Nested Class Summary
static class ShortShuffle.Convert
           
 
Constructor Summary
ShortShuffle()
           
 
Method Summary
static nom.tam.fits.ImageData unsigned(nom.tam.fits.ImageHDU ih)
          Takes an image hdu originally recorded as unsigned short and converts it to a signed short hdu.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortShuffle

public ShortShuffle()
Method Detail

unsigned

public static nom.tam.fits.ImageData unsigned(nom.tam.fits.ImageHDU ih)
                                       throws nom.tam.fits.FitsException
Takes an image hdu originally recorded as unsigned short and converts it to a signed short hdu.

Throws:
nom.tam.fits.FitsException