Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/asap/cookbook/node57.html
Дата изменения: Unknown
Дата индексирования: Tue Feb 5 06:35:19 2013
Кодировка:

Поисковые слова: http www.badastronomy.com phpbb index.php
Scantable Mathematics next up previous
Next: Scripting Up: ATNF Spectral Analysis Package Previous: Saving

Scantable Mathematics

It is possible to to simple mathematics directly on scantables from the command line using the +, -, *, / operators as well as their cousins +=, -= *=, /=. This works between two scantables or a scantable and a float. (Note that it does not work for integers).

  ASAP> sum = scan1+scan2
  ASAP> scan2 = scan1+2.0
  ASAP> scan *= 1.05



Malte Marquarding 2005-11-30