[daip] forwarded message from Stuart Weston
Leonia Kogan
lkogan at nrao.edu
Tue May 16 11:45:56 EDT 2006
Dear Stuart,
First of all I'like to recomend you starting hadlinng UVCON with the
model given at SMODEl:
Say
SMODEL = 10, 0
It means that UVCON will create the UV data for the point source with
flux=10 located at the center.
IN2name can be left blank at this case.
Such an aproach will aloow you to feel the input file and simulated
uvdata (outname, ...).
Having created succesfully output uvdata you can run UVPRT and see all
visibilities equaled 10 because
the model source is the point source with the flux 10.
Now step by step about your problems:
1.If you type 'aips > getn 4' to revoke in2name,.. for the model you
are doing wrong.
You have to type 'get2n 4'
Anyway you should see the expected in2name, in2class, in2seq, in2disk at
the list of iUVCON inputs.
You can reach it typing directely: in2name='...", in2class=...,
in2seq=.., in2disk=...
This is a technical problem not related with UVCON.
2. About your input file.
I do not like the stars at the second lines (positions at the equatorial
coordinate system) of the UVCON print out. Check your X, Y, Z
What are they (X,Y,Z)? You use the first column at you input file as
'1' . That means axis Z is directed to local zenith.
Your XYZ are supposed (I think so) to have origin at the Earth center.
Do you understand what is the "local"zenith at this case?
If XYZ are positions at the equatorial coordinate (I guess so) system
then the first column shoud be '0'!!
(read the explain file to UVCON.
The first line (for each antenna) and the second line at the UVCON print
out should be identical at this case.
You can use the standard VLBA file (just for practicing). You should
type INFILE='AIPSTARS:VLBA_UVCON'
3. You used default for APARM, BPARM...
It is not a good idea. For example BPARM(1)=0 => the noise is
added to the data with factor 1
(read help!) I do not thoink you want to start simulation with noise.
Pay attention on APARM(1-7)
Any other questions about UVCON send to me and to daip at nrao.edu
Leonid Kogan
From: Stuart Weston <stuartweston at astronomy.org.nz>
>To: egreisen at nrao.edu
>Subject: AIPS UVCON
>Date: Sat, 13 May 2006 23:03:15 +1200
>
>This is a multi-part message in MIME format.
>- --------------000508080203060300050306
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>Content-Transfer-Encoding: 7bit
>
>Dear Eric,
>
>I am a M.Phil Student at the Auckland University of Technology in New
>Zealand researching VLBI Array & Aperture Synthesis Modeling in
>collaboration with Swinburne, Australia. We are a new small team and
>currently with little to no in-house expertise (I am it) with software
>such as AIPS, so I am learning it the hard way (trial and error on my
>own :'( ).
>
>http://www.aut.ac.nz/about/faculties/design_and_creative_technologies/research/centre_for_radiophysics_and_space_research/links.htm
>
>Currently I am trying to get acquainted with aips and most specifically
>UVCON. I am fighting a loosing battle at the moment, there isn't a
>"UVCON for dummies" ?
>
>I load in the image from:
>http://www.oso.chalmers.se/~jconway/ALMA/IMAGES/ , I have used M501V2.
>
>I can view the image using "TVLOD" no problem. It is in my AIPS
>catalogue "MCAT" as seq 47.
>
>I call up task "uvcon" and modify the param's: See uvcon.txt
>
>Then lets try "go". It seems' to be happy with my antenna input file but
>is not happy with the image.
>
>Its a real descriptive error :-( like all things aips: see
>attached uvcon.msg
>
>UVCON1: ERROR 5 FINDING TEST . . 47 DISK= 1 USID= 2
>UVCON1: ZCREAT: INVALID BYTE REQUEST = -67108859
>UVCON1: SCREAT: DISK 1 ERROR 4 ON SCRATCH CREATE
>UVCON1: SCREAT: FAILED TO CREATE REQUESTED SCRATCH FILE
>UVCON1: ERROR 5 CREATING SCRATCH FILE
>UVCON1: Purports to die of UNNATURAL causes
>
>If I go:
>
> aips > getn 47
> aips > tvlod
>
> Then up pops the image in the tv window
>
> aips> mcat
> AIPS 1: 47 2 TEST .IMAG . 2 MA 13-MAY-2006 21:01:47
>
>So I am stumped at the moment. I have tried "playing" but to no avail
>currently. I'll keep plugging away and if you have any ideas or hints
>they would be very gratefully received.
>
>Thanks in advance
>
>- --
>
>Stuart Weston
>
>email: stuartweston at astronomy.org.nz
>phone: 09-4138281
>
>
>- --------------000508080203060300050306
>Content-Type: text/plain;
> name="uvcon.msg"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline;
> filename="uvcon.msg"
>
>UVCON1: Task UVCON (release of 31DEC06) begins
>UVCON1: ZTXOP2: using translated file name =
>UVCON1: ZTXOP2: /home/aipswrk/NZAU.AN
>UVCON1: Number of antennas = 6
>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):-4752008. 2791332.-3200198.; d= 22. ef= 0.40 T= 32.0 2
>UVCON1: A( 1):*********-4752008. 2791332.; d= 22. ef= 0.40 T= 32.0 2
>UVCON1: A( 2):-4682769. 2802619.-3291760.; d= 22. ef= 0.40 T= 32.0 2
>UVCON1: A( 2):*********-4682769. 2802619.; d= 22. ef= 0.40 T= 32.0 2
>UVCON1: A( 3):-4554232. 2816759.-3454036.; d= 64. ef= 0.40 T= 25.0 2
>UVCON1: A( 3):*********-4554232. 2816759.; d= 64. ef= 0.40 T= 25.0 2
>UVCON1: A( 4):-3950237. 2522348.-4311563.; d= 26. ef= 0.40 T= 47.0 2
>UVCON1: A( 4):*********-3950237. 2522348.; d= 26. ef= 0.40 T= 47.0 2
>UVCON1: A( 5):-5114017. 492424.-3767045.; d= 22. ef= 0.40 T= 32.0 2
>UVCON1: A( 5):*********-5114017. 492424.; d= 22. ef= 0.40 T= 32.0 2
>UVCON1: A( 6):-4305611. 890996.-4604963.; d= 22. ef= 0.40 T= 32.0 2
>UVCON1: A( 6):*********-4305611. 890996.; d= 22. ef= 0.40 T= 32.0 2
>UVCON1: ERROR 5 FINDING TEST . . 47 DISK= 1 USID= 2
>UVCON1: ZCREAT: INVALID BYTE REQUEST = -67108859
>UVCON1: SCREAT: DISK 1 ERROR 4 ON SCRATCH CREATE
>UVCON1: SCREAT: FAILED TO CREATE REQUESTED SCRATCH FILE
>UVCON1: ERROR 5 CREATING SCRATCH FILE
>UVCON1: Purports to die of UNNATURAL causes
>UVCON1: linux01 31DEC06 TST: Cpu= 0.0 Real= 0
>AIPS 1: Resumes
>
>
>- --------------000508080203060300050306
>Content-Type: text/plain;
> name="uvcon.txt"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline;
> filename="uvcon.txt"
>
>PS 1: UVCON Generates UV data for a given array and model
>AIPS 1: Adverbs Values Comments
>AIPS 1: ----------------------------------------------------------------
>AIPS 1: INFILE 'WORK:NZAU.AN' Antenna location file name
>AIPS 1: IN2FILE *all ' ' TSYS and Efficiency
>AIPS 1: BLANK=>INFILE's data are used
>AIPS 1: for TSYS and Efficiency
>AIPS 1: OUTFILE *all ' ' Antenna location file name
>AIPS 1: Positions are in equatorial
>AIPS 1: coordinate system.
>AIPS 1: IN2NAME 'TEST' Model image name (name)
>AIPS 1: The both dimensions of the
>AIPS 1: model must be 2**N pixels
>AIPS 1: IN2CLASS ' ' Model image name (class)
>AIPS 1: IN2SEQ 47 Model image name (seq. #)
>AIPS 1: IN2DISK 1 Model image disk unit #
>AIPS 1: INVERS 1 CC file version #.
>AIPS 1: OUTNAME 'WORK:TEST47' Output UV file name (name)
>AIPS 1: OUTCLASS ' ' Output UV file name (class)
>AIPS 1: OUTSEQ 47 Output UV file name (seq. #)
>AIPS 1: OUTDISK 1 Output UV file disk unit #.
>AIPS 1: NMAPS 0 No. maps to use for model.
>AIPS 1: BCOMP *all 0 First CLEAN comp to sub.
>AIPS 1: 1 per field. 0 => 1
>AIPS 1: NCOMP *all 0 Last CLEAN comp to sub.
>AIPS 1: to use (0 => all)
>AIPS 1: FLUX 0 Lowest CC component used.
>AIPS 1: CMETHOD 'DFT' Modeling method:
>AIPS 1: 'DFT','GRID'; ' '=>DFT
>AIPS 1: CMODEL 'COMP' Model type: 'COMP','IMAG'
>AIPS 1: ' ' => 'COMP'
>AIPS 1: if clean components
>AIPS 1: present
>AIPS 1: else => 'IMAG'
>AIPS 1: FACTOR 0 Factor times model fluxes.
>AIPS 1: 0 => 1
>AIPS 1: SMODEL *all 0 Source model, 1=flux,2=x,3=y
>AIPS 1: See 'explain'.
>AIPS 1: RASHIFT *all 0 Shift of the model center
>AIPS 1: relatively of the initial
>AIPS 1: RA=0, per field (asec)
>
>The rest are as defult.
>
>- --------------000508080203060300050306
>Content-Type: text/plain;
> name="NZAU.AN"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline;
> filename="NZAU.AN"
>
>; NZ-AU.ANT
>; This is the file of a proposed NZ-AUS VLBA configuration written at
>; the format of input file for the AIPS task UVCON
>;
>; Stuart Weston - Auckland University of Technology, 2006
>;-----------------------------------------------------------------------
>; Station Code Latitude Longitude Elevation X Y Z
>;
>; ATCA At -30.31000 -149.57000 217. -4752008.07 2791332.20 -3200197.64
>; MOPRA Mp -31.26782 -149.09964 867. -4682768.63 2802619.06 -3291759.90
>; PARKES Pa -32.99840 -148.26351 415. -4554232.01 2816758.96 -3454035.85
>; HOBART Ho -42.80359 -147.44052 65. -3950236.74 2522347.55 -4311562.54
>; Warkworth NI,NZ Wa -36 26 0.0 -174 30 0.0 100. -5114016.53 492423.78 -3767044.56
>; Awarua SI,NZ Aw -46 31 0.0 -168 18 30.0 10. -4305611.17 890996.14 -4604962.76
>6
>0.0 0.0
>1 1
>1 -4752008.07 2791332.20 -3200197.64 22 0.4 32 2
>1 -4682768.63 2802619.06 -3291759.90 22 0.4 32 2
>1 -4554232.01 2816758.96 -3454035.85 64 0.4 25 2
>1 -3950236.74 2522347.55 -4311562.54 26 0.4 47 2
>1 -5114016.53 492423.78 -3767044.56 22 0.4 32 2
>1 -4305611.17 890996.14 -4604962.76 22 0.4 32 2
>
>- --------------000508080203060300050306--
>------- end -------
>
>_______________________________________________
>Daip mailing list
>Daip at listmgr.cv.nrao.edu
>http://listmgr.cv.nrao.edu/mailman/listinfo/daip
>
>
More information about the Daip
mailing list