Return the n'th HDU. If the HDU is already read simply return a pointer to the cached data. Otherwise read the associated stream until the n'th HDU is read.


Namespace: nom.tam.fits
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)

Syntax

Visual Basic (Declaration)
Public Overridable Function GetHDU( _ 
   ByVal n As Integer _ 
) As BasicHDU
C#
public virtual BasicHDU GetHDU(
   int n
)
C++
public:
 virtual BasicHDU GetHDU(
   int n
)
J#
public virtual BasicHDU GetHDU(
   int n
)
JScript
public virtual  function GetHDU(
   n : int
) : BasicHDU

Parameters

n
The index of the HDU to be read. The primary HDU is index 0.

Return Value

The n'th HDU or null if it could not be found.

See Also