[daip] UVCON problem

Niruj Mohan Ramanujam mohan at strw.leidenuniv.nl
Wed Mar 10 08:23:16 EST 2010


Hi,

I am sending this again with the huge pdf file converted to a smaller jpg 
image.

regards
Niruj


>
>
> Hi,
>
> I am trying to create a uv dataset from an external image using UVCON and the 
> result didnt seem sensible. Hence I made an image which is a single point 
> source (in one pixel) with noise and that has problems too. In summary
>
> I have attached the input antenna file, UVCON input, the input image, and the 
> UVPL outputm which is obviously crazy.
>
> 1. If i run UVCON with a SMODEL =1,0, it runs perfectly well and gives me 
> sensible uv data
> 2. If I input the image, even if the flux is only in one pixel, and i changed 
> the cdelt to 0.1", with the uv data resolution being >6", I still get very 
> strange uv data.
>
> Can you please let me know if I am doing something wrong or is there a bug ?
>
> regards
> Niruj
-------------- next part --------------
36
52.0 5.0 0
1.0 1.0
;
;  lofar core stations (LBA)
;
; CS001	
-160	-586	0 40 0.5 290 0 0
; CS002	
-20	-169	0 40 0.5 290 0 0
; CS003	
-105	-80	0 40 0.5 290 0 0
; CS004	
-110	-254	0 40 0.5 290 0 0
; CS005	
18	-289	0 40 0.5 290 0 0
; CS006	
100	-209	0 40 0.5 290 0 0
; CS007	
60	-124	0 40 0.5 290 0 0
; CS017	
468	-88	0 40 0.5 290 0 0
; CS021	
-486	107	0 40 0.5 290 0 0
; CS024	
310	-946	0 40 0.5 290 0 0
; CS026	
841	-47	0 40 0.5 290 0 0
; CS030	
-600	615	0 40 0.5 290 0 0
; CS032	
-682	-478	0 40 0.5 290 0 0
; CS101	
728	658	0 40 0.5 290 0 0
; CS201	
855	-448	0 40 0.5 290 0 0
; CS301	
-129	-1206	0 40 0.5 290 0 0
; CS401	
-956	-284	0 40 0.5 290 0 0
; CS501	
-310	1066	0 40 0.5 290 0 0
;
; remote stations
;
; CS103   
1 1998   -63  0 40 0.5 290 0 0
; RS104   
1 3955   3048  0 40 0.5 290 0 0
; RS106   
1 7832   -4573  0 40 0.5 290 0 0
; RS205   
1 1906   -5626  0 40 0.5 290 0 0
; RS208   
1 3866   -27444  0 40 0.5 290 0 0
; RS210   
1 -3770   -68540  0 40 0.5 290 0 0
; CS302   
1 -1374   -1708  0 40 0.5 290 0 0
; RS306   
1 -8480   -3115  0 40 0.5 290 0 0
; RS307   
1 -12469   -12927  0 40 0.5 290 0 0
; RS310   
1 -48745   -21252  0 40 0.5 290 0 0
; RS404   
1 -4245   1248  0 40 0.5 290 0 0
; RS406   
1 -8266   11110  0 40 0.5 290 0 0
; RS407   
1 -6445   18748  0 40 0.5 290 0 0
; RS409   
1 -36980   9820  0 40 0.5 290 0 0
; RS410   
1 -70000   7700  0 40 0.5 290 0 0
; RS503   
1 -1319   2973  0 40 0.5 290 0 0
; RS508   
1 4839   36166  0 40 0.5 290 0 0
; RS509   
1 -6773   54658  0 40 0.5 290 0 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipimage.fits
Type: image/fits
Size: 1059840 bytes
Desc: 
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20100310/62050f61/attachment.fits>
-------------- next part --------------
>inp uvcon
AIPS 1: UVCON     Generates UV data for a given array and model
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: INFILE     '/home/mohan/LOFAR2010' 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    'PT SRC'                Model image name (name)
AIPS 1:                                    The both dimensions of the
AIPS 1:                                    model must be 2**N pixels
AIPS 1: IN2CLASS   'IMAP'                  Model image name (class)
AIPS 1: IN2SEQ        1                    Model image name (seq. #)
AIPS 1: IN2DISK       1                    Model image disk unit #
AIPS 1: INVERS        0                    CC file version #.
AIPS 1: OUTNAME    'PT SRC'                Output UV file name (name)
AIPS 1: OUTCLASS   ' '                     Output UV file name (class)
AIPS 1: OUTSEQ        0                    Output UV file name (seq. #)
AIPS 1: OUTDISK       1                    Output UV file disk unit #.
AIPS 1: NMAPS         1                    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     'IMAG'                  Model type: 'COMP','IMAG'
AIPS 1:                                    '    ' => 'COMP' => CC compon
        ents
AIPS 1:                                    'IMAG' => image
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)
AIPS 1: DECSHIFT   *all 0                  Shift of the model center
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 1:                                    relatively of the initial
AIPS 1:                                    declinat., given at APARM(3)
AIPS 1:                                    per field (asec)
AIPS 1: APARM         0.12        0        Control information:
AIPS 1:              10          -1        1: Frequency of chan. 1, GHz
AIPS 1:               1           0        2: Wavelength of ch 1, cm
AIPS 1:              10        *rest 0        IF both .LE. 0 then
AIPS 1:                                       wavelength = 0.1 cm
AIPS 1:                                    3: Source declination, deg
AIPS 1:                                    4: Min hour angle, hours
AIPS 1:                                    5: Max hour angle, hours
AIPS 1:                                       The hour angles are for
AIPS 1:                                       the given array center
AIPS 1:                                    6: Min antenna elevation, deg
AIPS 1:                                    7: Integration time, sec
AIPS 1:                                       0 => 1.D6
AIPS 1:                                       to simmulate snapshot
AIPS 1:                                    8: Bandwidth(increment) of
AIPS 1:                                       the freq. channel, MHz
AIPS 1:                                       >=0 => it is increment to
AIPS 1:                                       simulate multi chann. data
AIPS 1:                                       =0 => Bandwidth = 1MHz
AIPS 1:                                       <0 => one channel data to
AIPS 1:                                       simulate multi frequency
AIPS 1:                                       UV coverage
AIPS 1:                                    9: Number of freq. channels
AIPS 1:                                       0 => 1
AIPS 1:                                   10: Max blockage allowed
AIPS 1:                                       0 => 1 no blockage
AIPS 1: BPARM      *all 0                  Control information:
AIPS 1:                                    1: Multiplier of the calcul.
AIPS 1:                                       noise. 0 => 1
AIPS 1:                                             -1 => 0 (no noise)
AIPS 1:                                    2: Atmosphere noise at zenith
AIPS 1:                                       in degrees.
AIPS 1:                                    3: RMS of pointing error,
AIPS 1:                                       random among all antennas
AIPS 1:                                       but constant in time,
AIPS 1:                                       in arcsec
AIPS 1:                                       If (BPARM(3).LT.0) then
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 1:
AIPS 1:                                          the phase and amplitude
AIPS 1:                                          errors of each antenna
AIPS 1:                                          are simulated instead
AIPS 1:                                          of pointing error.
AIPS 1:                                          ABS(BPARM(3)) is half
AIPS 1:                                          range of homogeneously
AIPS 1:                                          distributed phase, rad
AIPS 1:
AIPS 1:                                          BPARM(4) is half
AIPS 1:                                          range of homogeneously
AIPS 1:                                          distributed natural LOG
AIPS 1:                                          of factor to amplitude
AIPS 1:
AIPS 1:                                          BPARM(5):
AIPS 1:                                          0 => only one (first)
AIPS 1:                                          clean component is
AIPS 1:                                          affected by the
AIPS 1:                                          phase/amp noise
AIPS 1:                                          1 => all clean
AIPS 1:                                          components are affected
AIPS 1:
AIPS 1:                                    4: global pointing error,
AIPS 1:                                       constant in time for all
AIPS 1:                                       antennas,
AIPS 1:                                       in arcsec
AIPS 1:                                    5: RMS of pointing error,
AIPS 1:                                       random among all antennas
AIPS 1:                                       and in time,
AIPS 1:                                       in arcsec
AIPS 1:                                    6: Type of the primary beam
AIPS 1:                                       1 => circular dish with
AIPS 1:                                            the flat illumination
AIPS 1:                                       2 => illumination is 10dB
AIPS 1:                                            down at the dish edge
AIPS 1:                                       3 => illumination is 15dB
AIPS 1:                                            down at the dish edge
AIPS 1:                                       The dish diameter is given
AIPS 1:                                       at the INFILE (antenna 1)
AIPS 1:                                       4 => Gaussian beam with
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 1:                                            given BMAJ, BMIN, BPA
AIPS 1:                                            in degrees
AIPS 1:                                       5 => Gaussian beam with
AIPS 1:                                         variable BMAJ, BPA
AIPS 1:                                         depending on the time
AIPS 1:                                       .GT.0 =>Multiply the model
AIPS 1:                                       by the primary beam.
AIPS 1:                                       0 => Not multiply the
AIPS 1:                                       model by the primary beam.
AIPS 1:                                    7: Time tolerance, in minutes
AIPS 1:                                       0 => 1
AIPS 1:                                       If the difference  of the
AIPS 1:                                       current and  previous time
AIPS 1:                                       is < the time tolerance,
AIPS 1:                                       the pointing error or the
AIPS 1:                                       phase of the antenna or
AIPS 1:                                       primary beam parameters
AIPS 1:                                       are not changed
AIPS 1:                                    8: Shift the UV data by
AIPS 1:                                       RASHIFT, DECSHIFT?
AIPS 1:                                       0 => yes shift
AIPS 1:                                       1 => no shift
AIPS 1:                                    9: Range of the primary beam
AIPS 1:                                       0 => 2.5
AIPS 1:                                   10: If OUTFILE.NE.BLANK then
AIPS 1:                                       0 => calculate OUTFILE and
AIPS 1:                                            exit
AIPS 1:                                       1 => calculate OUTFILE and
AIPS 1:                                            carry out the rest of
AIPS 1:                                            job
AIPS 1: CPARM      *all 0                  Frequencies of the group(IFs)
AIPS 1:                                    begins
AIPS 1:                                    1: Number of the groups (IFs)
AIPS 1:                                    2-10 Frequency of group(IFs)
AIPS 1:                                         begins in MHz
AIPS 1: BMAJ          0                    FWHM major axis of the
AIPS 1:                                    Gaussian primary beam, degree
AIPS 1:                                    See help for the variable
AIPS 1:                                    primary beam (BPARM(6)=5)
AIPS 1: BMIN          0                    FWHM minor axis of the
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 1:                                    gaussian primary beam, degree
AIPS 1: BPA           0                    Position angle of Gaussian
AIPS 1:                                    primary beam, degree
AIPS 1: DO3DIMAG     -1                    1 => use W term calculating
AIPS 1:                                         visibilities (only if
AIPS 1:                                         CMETHOD='DFT', and
AIPS 1:                                         CMODEL ='COMP')
AIPS 1:                                    0 => no W term calculating
AIPS 1:                                         visibilities
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uvpl_plot.jpg
Type: image/jpeg
Size: 52022 bytes
Desc: 
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20100310/62050f61/attachment.jpg>


More information about the Daip mailing list