Interface ICompressHeaderParameter

All Superinterfaces:
ICompressParameter
All Known Implementing Classes:
CompressHeaderParameter, HCompressScaleParameter, HCompressSmoothParameter, RiceBlockSizeParameter, RiceBytePixParameter

public interface ICompressHeaderParameter extends ICompressParameter
(for internal use) Compression parameter that must be stored along the header meta data of the hdu.
  • Method Details

    • getValueFromHeader

      default void getValueFromHeader(IHeaderAccess header)
      Deprecated.
      get the value from the header and set it in the compression option.
      Parameters:
      header - the header of the hdu
    • setValueInHeader

      default void setValueInHeader(IHeaderAccess header)
      Deprecated.
      Get the parameter value from the option and set it into the fits header.
      Parameters:
      header - the header to add the parameter.
    • getValueFromHeader

      void getValueFromHeader(Header header) throws HeaderCardException
      get the value from the header and set it in the compression option.
      Parameters:
      header - the header of the hdu
      Throws:
      HeaderCardException - if there was a problem accessing the header
    • setValueInHeader

      void setValueInHeader(Header header) throws HeaderCardException
      Get the parameter value from the option and set it into the fits header.
      Parameters:
      header - the header to add the parameter.
      Throws:
      HeaderCardException - if there was a problem accessing the header