Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.1.0/doc/evproject/node4.html
Дата изменения: Mon Jul 9 04:02:13 2007
Дата индексирования: Sat Dec 22 11:01:18 2007
Кодировка:

Поисковые слова: arp 220
Genesis of evproject XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


evproject (attcalc2-1.3.1) [xmmsas_20070708_1801-7.1.0]

Description Description Introduction Home Index

Meta Index / Home Page / Description


Genesis of evproject

This task has been developed from, and is intended to replace, the sas task attcalc. Why write a whole new package, rather than modifying the existing attcalc? This breaks into two separate queries:

  1. Q: what in attcalc needed improving? A: it seems now to be generally accepted among the SAS development team that the coordinate transform routine employed by attcalc contains an error (it results in an inversion of the sign of the boresight roll angle).

  2. Q: why retain the old attcalc? A: it is mostly a question of inertia. This error has now been thoroughly built into the system and quite a lot of tasks would need to be re-written if attcalc were to be simply replaced by evproject. In fact no ill effects are felt in the present sas, firstly because attcalc has itself been used to deduce the boresight angles, which are therefore themselves incorrect in this matter of roll-angle sign; secondly because other tasks which need to perform the same transform have `cut-and-pasted' the same (incorrect!) code from attcalc. The errors thus cancel in the existing sas. Problems begin only for a developer who wishes to create a new task which is to calculate the same transform, and who wishes not to go on copying the same error in perpetuity.

The differences between attcalc and evproject, which are mostly structural rather than functional, are as follows:

  1. The error in the coordinate transform has been corrected;
  2. The transform routine is now available as a library function;
  3. The construction of the attitude time series has been separated off into the library binned_att.

Finally, why the change of name? Because I felt that `attcalc' is not very descriptive of the main function of the task, which is to calculate the position of each event on a sky projection plane. When it was decided to create a new package, I thus seized the opportunity to change the name of the main task to something more suggestive of its function.


Description Description Introduction Home Index

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