[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Author Index][Subject Index]

Output of MIDAS command INTEGRATE/LINE



Hello.

This is to bring to the attention of the MIDAS users and developpers community
that there is some internal inconsistency in the output of MIDAS command
INTEGRATE/LINE (in version 99NOVpl2.2 but the same occured in 98NOV).

Midas 002> read/desc spectot
frame: spectot  (data = R4)
NAXIS:                    1
NPIX:                   200
START:               -200.00000000000
STEP:                 2.0000000000000
IDENT:           Gaussian, mean,sigma:  30.000    ,  3.0000
CUNIT:           none given
LHCUTS:            0.0000000E+00  0.0000000E+00  0.0000000E+00  0.5319231

Midas 003> integr/line spectot
   X_start (pix/world)           X_end (pix/world)      Pixel sep.
  Line+Cont.   Continuum        Line       Line/Cont    Equiv. w.
 ----------------------------------------------------------------
  -108.246      46.8772     -28.3818      86.8091      2.00000
   8.00000     0.579916E-01  7.94201      136.951     -10937.4

Opposite to the above header and to what is indicated in the help, the world
coordinates (for both first and last positions) are displayed BEFORE the pixel
coordinates !

Midas 004> read/key outputr
keyword: OUTPUTR         type: real     no_elems: 20  modtime: 988120141
      46.8772      86.8091     -108.246     -28.3818            2            8
    0.0579916      7.94201      136.951     -10937.4            0            0
            0            0            0            0            0            0
            0            0
In OUTPUTR, this is now in the order : 
xpix first, xpix last, xworld first, xworld last !!! 
This is somewhat confusing.

 So, it would be nice to :
- display the headers in the right order corresponding to the numerical values
supplied below ;
- supply the output values in the same order than in OUTPUTR (the output order
in OUTPUTR should not be modified to preserve backward compatibility). 

With best regards,
                      Bernard Debray
                      Observatoire de Besançon