-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionuse
Fits.getNumberOfHDUs()
insteadThe meaning of size of ambiguous. UseFits.getNumberOfHDUs()
instead. Note size() will read the input file/stream to the EOF before returning the number of HDUs whichFits.getNumberOfHDUs()
does not. If you wish to duplicate this behavior and ensure that the input has been exhausted before getting the number of HDUs then use the sequence:read(); getNumberofHDUs();
useFitsFactory.hduFactory(Object)
insteaduseFitsFactory.hduFactory(Header, Data)
insteadAn iterator fromHeader.iterator(int)
orHeader.iterator()
should be used for sequential access to the header.An iterator fromHeader.iterator(int)
orHeader.iterator()
should be used for sequential access to the header.Use the appropriate Header constructor.useHeader.getNumberOfCards()
. The units of the size of the header may be unclear.useArrayDataInput.readLArray(Object)
instead.May silently underestimate the size if the size > 2 GB.May silently underestimate size if number is > 2 G.May silently underestimate size if number is > 2 G.UseBufferedReader
methods.useBufferedDataInputStream.readLArray(Object)
insteaduseBufferedDataOutputStream.writeArray(Object)
insteaduse key parameter can be omitted, so useCursor.add(Object)
instead
-
Deprecated ConstructorsConstructorDescriptionuse
Fits(InputStream)
compression is auto detected.useFits(InputStream)
compression is auto detected.
-
Deprecated Enum ConstantsEnum ConstantDescriptionno blocksize other that 2880 may be used.use
Standard.EQUINOX
in steaduseStandard.RADESYS
instead.
BasicHDU.getEquinox()
instead