[daip] AIPS UVFIT fails to iterate

Eric Greisen egreisen at nrao.edu
Mon Oct 31 16:33:04 EDT 2011


Tanmoy Laskar wrote:
> Hi Eric,
> 
> Many thanks for taking care of this. I have fetched the changed UVFIT 
> and have been able to use the INLIST parameter. It works like a charm.
> 
> 1. It appears that whenever multiple sources are being fit, the display 
> gives the positions of all the sources in the same units. This is a 
> problem when the numbers are different orders of magnitude, resulting in 
> a row of asterisks:
> Comp  1 Max= 1.4789E+02 Jy, pos=  -493.3005   121.9238 Nano sec
> ARTEMI> UVFIT1:              6.1223E-01             -1.0000    -1.0000
> ARTEMI> UVFIT1:         Size =      2.5354      3.2492 Millisec PA =   
> 76.30 deg
> ARTEMI> UVFIT1:                   -1.00000    -1.00000                 -1.00
> ARTEMI> UVFIT1: Comp  2 Max= 1.7348E+00 Jy, pos=********************** 
> Nano sec
> ARTEMI> UVFIT1:              6.6948E-01             -1.0000    -1.0000
> ARTEMI> UVFIT1:         Size =      3.5016      5.8605 Millisec PA =   
> 80.20 deg
> ARTEMI> UVFIT1:                   -1.00000    -1.00000            
> 
> Is it possible to display the two in scientific notation, that would 
> avoid this problem?
> 
> 2. Is it possible to get UVFIT to write these fitted values to a text 
> file, like JMFIT does? A format something like
> Channel, Component number, RA offset, e_RA, Dec offset, e_Dec, Flux, 
> e_Flux, Bmaj, e_Bmaj, Bmin, e_bmin, PA, e_PA, RMS, chi_sq, degrees of 
> freedom
> 
> would be helpful, so that the user doesn't need to parse paragraphs of 
> strings to get a hold of the numbers.

I corrected the bug affecting display - it used the min offset and size 
to set the prefixes not the max.  Added a text display - degrees of 
freedom does not appear to be available.

Run a MNJ tomorrow to get the code.

Eric Greisen




More information about the Daip mailing list