[daip] little VPLOT bug (in TST)

Eric Greisen egreisen at nrao.edu
Fri Nov 5 16:12:41 EST 2004


Lorant Sjouwerman writes:
 > In reporting the sum of the cc-model the first component is counted twice, 
 > both in the number of cc-comps as well as in the total flux density. 
 > It does not affect the model plotting, so it is not too serious. 
 > With this cc-file:
 > 
 > 
 >        1        1350.00       -1350.00       8.6378126        8.6378126
 >        2        1350.00        -900.00       3.8941362       12.5319490
 >        3         900.00       -1350.00       2.9872282       15.5191774
 >        4         900.00        -900.00       1.3401850       16.8593616
 >        5        1800.00       -1800.00      -0.2843281       16.5750332
 > 
 > 
 > I get for ncomp 1 0:
 > VPLOT2: FACSET: 17.275625 Jy found from 2 components
 > 
 > And for ncomp 4 0:
 > VPLOT2: FACSET: 25.497175 Jy found from 5 components

VPLOT and several other tasks were initializing BITER/BCOMP to 0
rather than 1 so a loop was being done from 0 to 1 or twice with
record 1 being read instead of record 0.  Fixed SETGDS (called
everywhere) to force BITER > = 1.

Eric Greisen




More information about the Daip mailing list