Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.1.0/doc/ssclib/node24.html
Дата изменения: Mon Jul 9 01:26:54 2007
Дата индексирования: Sat Dec 22 08:41:49 2007
Кодировка:

Поисковые слова: arp 220
Extract information about the instrument, exposure start time and spacecraft and instrument attitude from a dataset header. XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


ssclib (ssclib-3.29.3) [xmmsas_20070708_1801-7.1.0]

Subroutine shortcuts for manipulating Subroutine shortcuts for manipulating Spacecraft instrument attitude Home Index

Meta Index / Home Page / Subroutine shortcuts for manipulating

Extract information about the instrument, exposure start time and spacecraft and instrument attitude from a dataset header.

  interface getCalInfo
    subroutine getCalInfoName(setName, instrumentId, expStartTimeStamp&
      , scAttitude, instrumAttitude)

      character(*),                 intent(in)  :: setName
      integer(int32),               intent(out) :: instrumentId
      real(double),                 intent(out) :: expStartTimeStamp
      type(SpacecraftAttitudeType), intent(out) :: scAttitude, instrumAttitude
    end subroutine getCalInfoName

    subroutine getCalInfoSet(set, instrumentId, expStartTimeStamp, scAttitude&
      , instrumAttitude)

      type(DataSetT),               intent(in)  :: set
      integer(int32),               intent(out) :: instrumentId
      real(double),                 intent(out) :: expStartTimeStamp
      type(SpacecraftAttitudeType), intent(out) :: scAttitude, instrumAttitude
    end subroutine getCalInfoSet
  end interface

NOTE that this call also sets the state of the cal to the returned instrument.

The $instrumentId$ and $expStartTimeStamp$ are obtained from respectively from the INSTRUME and DATE-OBS keywords of the dataset header. The $scAttitude$ is read from the RA_PNT, DEC_PNT and PA_PNT keywords (this is actually wrong, since the instrument attitude is what should be stored in these, not the spacecraft attitude). The boresight is then obtained for the exposure start time, and $instrumAttitude$ calculated by applying the boresight rotation to $scAttitude$.



XMM-Newton SOC/SSC -- 2007-07-08