[daip] Re: UVCON

Leonia Kogan lkogan at nrao.edu
Tue May 23 12:53:44 EDT 2006


Dear Stuart,

I am glad you have the first success with UVCON.
I am leaving at the end of this week for two weeks buisness trip and 
will not be
able to serve you with UVCON that time.

So I want now to give you sme extra explanation of UVCON which may help 
you to understand it better.:
1. When you forced zero at the end of each line UVCON works. So there 
was sometn invisible after 2 
     at your input file.

2. You need use 1 instead of zero there. You got a success putting 1 
only for the first line(antenna)
     I guess if  you put 1 for all antennas UVCON may not work.
      Let me explain why:
      APARM(4) min hour angle =0 at my example
      APARM(5) max hour angle=0.1h=360sec at my axample
       APARM(7) 500sec>360sec =>UVCON simullates only one hour angle at  
hour angle =0
        The hour angle is for site position (center of the array)given 
at the second line of your input file
        0.0 0.0 is grenwich => UVCON trys to simulate the observation at 
Greenwich's hour angle=0
        UVCON calculates the hour angle for your antennas to estimate 
the elevation of each antenna
        If you use 1 at the and of all Infile lines (this is right!!!) 
you'll get negative elevations for all four(three) antennas
        and UVCON rejects all visibilities because the elevation is 
<APARM(6)=0.
        If you use 0 for all lines but the first one,  UVCON calculates 
the elevation erroniously and
        and it happens erroniously that elevations are positve for those 
line and UVCON shod create
        1 of three(if number of antennas is 3) visibilities rejecting 
the base line 1-2, 1-3 and leaving only 2-3
        You can check it looking at  cno=63's  imh
WHAT TO DO:

3. Use 0.0 0.0 at the second line
    Very carefully select APARM(4), APARM(5), APARM(7) to get the 
reasonable hour angle for your antennas
    Actually APARM(4) =0+(or- (think yourself) longtitude of your site; 
    APARM(5) =APARM(4) + small number ( small if you want one time 
observation (snapshot)
or  and this may be the best for you
4   use Lat, long of a point near you r 3(4) antennas for example ant1; 
     the second line using ATCA   -30 149 0
     use 1 at the end of all lines (infile)
     Use the the hour angle range (aparm(4,5,7)) as for ant1

Let me know if  it is clear for you and use item 4

Good luck

LK

        

    



Stuart Weston wrote:

> Leonia,
>
> Used SMODEL, APARM & BPARM as you gave.
>
> The muddy water is clearing for me now.
>
> Got it, I am getting uv data now and uv plots that look right 
> (comparing with MIRIAD and SCHED). XYZ match on repeat lines.
>
> Thank you very much for your patience with a struggling Pommy Kiwi, 
> its making sense now.
>
> I will experiment some more and then try to apply an image.
>
> Stuart - Share & Enjoy
>
>
> Leonia Kogan wrote:
>
>> Stuart,
>>
>> I have ran UVCON using the input file with your four antennas and 
>> using AIPS  DEC3105 as you used.
>>
>> IT WORKS NO astericks, the second lines of the print out coincide 
>> with the first ones.
>> I used zero at the second lines and nothing after 2s
>>
>> I did not used an image as a model. Instead I used
>> SMODEL 11 0
>>
>> APARM 0 3 0 0 0.1 0 500
>> BPARM =-1,0
>>
>> I recommend you to carry out the following tests. (use the same 
>> inputs I used)
>>
>> 1. INFILE  'AIPSTARS:VLBA_UVCON'
>>
>> 2. INFILE  <yourfile>
>>    a)  the second line is equal LAT, LONG of the first antenna;
>>         put 1 after 2s  (2 blank  1)
>>          The second line at the outprint should be almoust zero for 
>> the first antenna
>>         put 0 after 2s   (2 blank 0)
>>          The second line at the outprint should be identical of the 
>> first lines
>>  b) the second line is zero
>>         put 1 after 2s  (2 blank  1)
>>          The second line at the outprint should be asterics for X and 
>> identical at Y,Z of the first lines
>>          may be 'abort'
>>         put 0 after 2s   (2 blank 0)
>>          The second line at the outprint should be identical of the 
>> first lines
>>           should work
>>
>> Let me know the result
>>
>> LK
>>
>>
>>
>>
>
>
>------------------------------------------------------------------------
>
>  
>
>>go
>>    
>>
>UVCON1: Task UVCON  (release of 31DEC06) begins
>UVCON1: ZTXOP2: using translated file name =
>UVCON1: ZTXOP2: /home/aipsmgr/TEXT/STARS/VLBA_UVCON
>UVCON1: Number of antennas =   10
>UVCON1: Site latitude =    0.000 degrees
>UVCON1: Site longtitude =    0.000 degrees
>UVCON1: Coordinate conversion factor to meters = 1.00000E+00
>UVCON1: Diameter conversion factor to meters = 1.00000E+00
>UVCON1: A(   1):-2112065.-3705357. 4726814.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   1):-2112065.-3705357. 4726814.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   2):-1324009.-5332182. 3231962.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   2):-1324009.-5332182. 3231962.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   3): 1446375.-4447940. 4322306.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   3): 1446375.-4447940. 4322306.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   4):-1995678.-5037318. 3357328.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   4):-1995678.-5037318. 3357328.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   5):-1449752.-4975299. 3709124.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   5):-1449752.-4975299. 3709124.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   6):-5464075.-2495249. 2148297.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   6):-5464075.-2495249. 2148297.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   7): -130872.-4762317. 4226851.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   7): -130872.-4762317. 4226851.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   8):-2409150.-4478573. 3838617.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   8):-2409150.-4478573. 3838617.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   9):-1640954.-5014816. 3575412.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(   9):-1640954.-5014816. 3575412.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(  10): 2607849.-5488070. 1932739.; d= 25. ef= 0.55 T=  20.0  4
>UVCON1: A(  10): 2607849.-5488070. 1932739.; d= 25. ef= 0.55 T=  20.0  4
>AIPS 1: Resumes
>  
>
>>UVCON1: Create UV DATA FILE.UVCON .  11 (UV)  on disk  1  cno   59
>>    
>>
>UVCON1: VISDFT: Begin DFT component subtraction
>UVCON1: VISDFT: Model components of type Point
>UVCON1: Model computation is   100 percent complete
>UVCON1: Appears to have ended successfully
>UVCON1: linux01      31DEC06 TST: Cpu=       0.0  Real=       0
>
>;   NZ.ANT
>;   This is the file of a proposed NZ VLBA configuration written as
>;   the format input file for the AIPS task UVCON
>;
>;   Stuart Weston - Auckland University of Technology, 2006
>;-----------------------------------------------------------------------
>;   Station        Code   Latitude Longitude Elevation        X           Y
>      Z
>;
>;   Karaka, Akl, NZ     -37  6 0.0 -174 51 0.0    30.  -5072769.2477 457195.0294 -3826268.5670
>;   Warkworth NI,NZ Wa  -36 26 0.0 -174 30 0.0   100.  -5047639.2149  486032.3756 -3855752.1675
>;   Awarua SI,NZ    Aw  -46 31 0.0 -168 18 30.0   10.  -4305611.17  890996.14  -4604962.76
>3
>0.0   0.0
>1 1
>0 -5072769.2477 457195.0294 -3826268.5670 6 0.5 47 2 0
>0 -5047639.2149 486032.3756 -3855752.1675 22 0.4 32 2 0
>0 -4305611.17   890996.14   -4604962.76 22 0.4 32 2 0
>
>
>  
>
>>go
>>    
>>
>UVCON1: Task UVCON  (release of 31DEC06) begins
>UVCON1: ZTXOP2: using translated file name =
>UVCON1: ZTXOP2: /home/aipswrk/NZ.ANT
>UVCON1: Number of antennas =    3
>UVCON1: Site latitude =    0.000 degrees
>UVCON1: Site longtitude =    0.000 degrees
>UVCON1: Coordinate conversion factor to meters = 1.00000E+00
>UVCON1: Diameter conversion factor to meters = 1.00000E+00
>UVCON1: A(   1):-5072769.  457195.-3826269.; d=  6. ef= 0.50 T=  47.0  2
>UVCON1: A(   1):-5072769.  457195.-3826269.; d=  6. ef= 0.50 T=  47.0  2
>UVCON1: A(   2):-5047639.  486032.-3855752.; d= 22. ef= 0.40 T=  32.0  2
>UVCON1: A(   2):-5047639.  486032.-3855752.; d= 22. ef= 0.40 T=  32.0  2
>UVCON1: A(   3):-4305611.  890996.-4604963.; d= 22. ef= 0.40 T=  32.0  2
>UVCON1: A(   3):-4305611.  890996.-4604963.; d= 22. ef= 0.40 T=  32.0  2
>UVCON1: Create UV DATA FILE.UVCON .  12 (UV)  on disk  1  cno   60
>UVCON1: VISDFT: Begin DFT component subtraction
>UVCON1: VISDFT: Model components of type Point
>UVCON1: Model computation is   100 percent complete
>UVCON1: Appears to have ended successfully
>UVCON1: linux01      31DEC06 TST: Cpu=       0.0  Real=       0
>AIPS 1: Resumes
>
>3
>0.0   0.0
>1 1
>0 -5072769.2477 457195.0294 -3826268.5670 6 0.5 47 2 1
>0 -5047639.2149 486032.3756 -3855752.1675 22 0.4 32 2 0
>0 -4305611.17   890996.14   -4604962.76 22 0.4 32 2 0
>
>
>  
>
>>go
>>    
>>
>UVCON1: Task UVCON  (release of 31DEC06) begins
>UVCON1: ZTXOP2: using translated file name =
>UVCON1: ZTXOP2: /home/aipswrk/NZ.ANT
>UVCON1: Number of antennas =    3
>UVCON1: Site latitude =    0.000 degrees
>UVCON1: Site longtitude =    0.000 degrees
>UVCON1: Coordinate conversion factor to meters = 1.00000E+00
>UVCON1: Diameter conversion factor to meters = 1.00000E+00
>UVCON1: A(   1):-5072769.  457195.-3826269.; d=  6. ef= 0.50 T=  47.0  2
>UVCON1: A(   1):*********  457195.-3826269.; d=  6. ef= 0.50 T=  47.0  2
>UVCON1: A(   2):-5047639.  486032.-3855752.; d= 22. ef= 0.40 T=  32.0  2
>UVCON1: A(   2):-5047639.  486032.-3855752.; d= 22. ef= 0.40 T=  32.0  2
>UVCON1: A(   3):-4305611.  890996.-4604963.; d= 22. ef= 0.40 T=  32.0  2
>UVCON1: A(   3):-4305611.  890996.-4604963.; d= 22. ef= 0.40 T=  32.0  2
>UVCON1: Create UV DATA FILE.UVCON .  15 (UV)  on disk  1  cno   63
>UVCON1: VISDFT: Begin DFT component subtraction
>UVCON1: VISDFT: Model components of type Point
>UVCON1: Model computation is   100 percent complete
>UVCON1: Appears to have ended successfully
>UVCON1: linux01      31DEC06 TST: Cpu=       0.0  Real=       0
>AIPS 1: Resumes
>
>  
>





More information about the Daip mailing list