This abstract class is the parent of all HDU types. It provides basic functionality for an HDU. This class is abstract (MustInherit in Visual Basic)abstractMustInherit and so cannot be instantiated.


The following tables list the members exposed by BasicHDU.

Protected Constructors

  Name Description
Family method BasicHDU Initializes a new instance of the BasicHDU class.
Top

Public Fields

  Name Description
Public field Static BITPIX_BYTE Constant for BitPix byte value This field is constant and read-only.
Public field Static BITPIX_DOUBLE Constant for BitPix double value This field is constant and read-only.
Public field Static BITPIX_FLOAT Constant for BitPix float value This field is constant and read-only.
Public field Static BITPIX_INT Constant for BitPix integer value This field is constant and read-only.
Public field Static BITPIX_LONG Constant for BitPix long value This field is constant and read-only.
Public field Static BITPIX_SHORT Constant for BitPix short value This field is constant and read-only.
Top

Protected Fields

  Name Description
Family field isPrimary Is this the first HDU in a FITS file?
Family field myData The associated data unit.
Family field myHeader The associated header.
Top

Public Properties

  Name Description
Public property Author Return the name of the person who compiled the information in the data associated with this header.
Public property Axes  
Public property BitPix  
Public property BlankValue  
Public property BScale Returns the value oF BSCALE from HDU The value field shall contain a floating point number.The default value for this keyword os 1.0
Public property BUnit The value shall contain a character String, describing the physical units in which the quantities in the array, after application of BSCALE and BZERO,are expressed.
Public property BZero Returns the value oF BZero from HDU This keyword shall be used, along with the BSCALE keyword The default value for this keyword is 0.0.
Public property CreationDate Get the FITS file creation date as a Date object.
Public property Data Get the associated Data object
Public property Static DummyHDU Returns DummyHDu instance
Public property Epoch Get the equinox in years for the celestial coordinate system in which positions given in either the header or data are expressed.
Public property Equinox Get the equinox in years for the celestial coordinate system in which positions given in either the header or data are expressed.
Public property FileOffset Get the starting offset of the HDU
Public property GroupCount Returns the value oF GCOUNT from HDU
Public property Header Get the associated header
Public property Instrument Get the name of the instrument which was used to acquire the data in this FITS file.
Public property Kernel Get the non-FITS data object
Public property MaximumValue Return the minimum valid value in the array.
Public property MinimumValue Return the minimum valid value in the array.
Public property Object Get the name of the observed object in this FITS file.
Public property ObservationDate Get the FITS file observation date as a Date object.
Public property Observer Get the name of the person who acquired the data in this FITS file.
Public property Origin Get the name of the organization which created this FITS file.
Public property ParameterCount Returns the value oF PCOUNT from HDU
Public property Reference Return the citation of a reference where the data associated with this header are published.
Public property Rewriteable Is the HDU rewriteable
Public property Size Get the total size in bytes of the HDU.
Public property Telescope Get the name of the telescope which was used to acquire the data in this FITS file.
Top

Public Methods

  Name Description
Public method AddValue Overloaded. Add boolean information to the header
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetTrimmedString Get the String value associated with keyword
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method Info Print out some information about this HDU.
Public method Static IsHeader Check that this is a valid header for the HDU.
Public method Read Read out the HDU from the data stream. This will overwrite any existing header and data components.
Public method ReadData Read in the Data object for this HDU.
Public method Rewrite Rewrite the HDU.
Public method Static SkipData Skip the Data object immediately after the given Header object on the given stream object.
Public method SkipData Skip the Data object for this HDU.
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Public method Write Write out the HDU.
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also