Changes between Version 24 and Version 25 of Notes/ExampleReduction


Ignore:
Timestamp:
04/01/09 11:32:26 (15 years ago)
Author:
JamieStevens
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Notes/ExampleReduction

    v24 v25  
    351351central frequency, we will control dac_repeat.pl with a parameter file.
    352352
     353We first need to calculate the primary beam size of the antenna for each central frequency, which is simply
     354
     3551.22 * (c/f) / D
     356
     357where c is the speed of light, f is the central frequency and D is the diameter of the telescope, in this case 22m.
     358Using this information, and the beam sizes that were computed during the restor operations above, we can determine
     359the image sizes (in pixels) that we need to image 3 times the primary beam size. All this information is in the
     360table below.
     361
     362|| Centre Freq (MHz) || Primary Beam (arcmin) || Synthesised beam (arcsec) || Image size (pixels) ||
     363||  4540             ||  12.589               ||  26.672 x 22.525          ||  255 x 302          ||
     364||  4668             ||  12.243               ||  25.265 x 21.494          ||  262 x 308          ||
     365||  4796             ||  11.917               ||  24.635 x 20.907          ||  261 x 308          ||
     366||  4924             ||  11.607               ||  23.992 x 20.378          ||  261 x 308          ||
     367||  5052             ||  11.313               ||  23.463 x 19.901          ||  260 x 307          ||
     368||  5180             ||  11.033               ||  22.910 x 19.483          ||  260 x 306          ||
     369||  5308             ||  10.767               ||  22.394 x 19.020          ||  260 x 306          ||
     370||  5436             ||  10.514               ||  21.931 x 18.553          ||  259 x 306          ||
     371||  5564             ||  10.272               ||  21.531 x 18.208          ||  258 x 305          ||
     372||  5692             ||  10.041               ||  21.018 x 17.827          ||  258 x 304          ||
     373||  5820             ||  9.820                ||  20.568 x 17.428          ||  258 x 304          ||
     374||  5948             ||  9.609                ||  20.152 x 17.082          ||  257 x 304          ||
     375||  6076             ||  9.406                ||  19.800 x 16.781          ||  257 x 303          ||
     376||  6204             ||  9.212                ||  19.379 x 16.469          ||  257 x 302          ||
     377||  6332             ||  9.026                ||  19.053 x 16.110          ||  256 x 303          ||
     378||  6460             ||  8.847                ||  19.330 x 16.151          ||  247 x 296          ||
     379
     380So we make a file called dac_invert_args.txt that looks like this:
     381
     382{{{
     3834540 cell=26.672,22.525 imsize=255,302
     3844668 cell=25.265,21.494 imsize=262,308
     3854796 cell=24.635,20.907 imsize=261,308
     3864924 cell=23.992,20.378 imsize=261,308
     3875052 cell=23.463,19.901 imsize=260,307
     3885180 cell=22.910,19.483 imsize=260,306
     3895308 cell=22.394,19.020 imsize=260,306
     3905436 cell=21.931,18.553 imsize=259,306
     3915564 cell=21.531,18.208 imsize=258,305
     3925692 cell=21.018,17.827 imsize=258,304
     3935820 cell=20.568,17.428 imsize=258,304
     3945948 cell=20.152,17.082 imsize=257,304
     3956076 cell=19.800,16.781 imsize=257,303
     3966204 cell=19.379,16.469 imsize=257,302
     3976332 cell=19.053,16.110 imsize=256,303
     3986460 cell=19.330,16.151 imsize=247,296
     399}}}
     400
     401And we run invert using dac_repeat.pl like this:
     402
     403dac_repeat.pl --task invert --repeat vis --repeat-freq rnovalmc --repeat map --repeat-freq rnovalmc_m2_%f.map --repeat beam --repeat-freq rnovalmc_m2_%f.beam "select=-auto,-ant(6)" stokes=ii options=mfs,sdb slop=1 --args-file dac_invert_args.txt
     404
     405This makes the triple-sized maps and beams, and now we have to chop out the normal sized map
     406using imframe. We make the file dac_imframe_args.txt that looks like this:
     407
     408{{{
     4094540 region=relcenter,boxes(-42,-50,42,50)
     4104668 region=relcenter,boxes(-43,-51,43,51)
     4114796 region=relcenter,boxes(-43,-51,43,51)
     4124924 region=relcenter,boxes(-43,-51,43,51)
     4135052 region=relcenter,boxes(-43,-51,43,51)
     4145180 region=relcenter,boxes(-43,-51,43,51)
     4155308 region=relcenter,boxes(-43,-51,43,51)
     4165436 region=relcenter,boxes(-43,-51,43,51)
     4175564 region=relcenter,boxes(-43,-50,43,50)
     4185692 region=relcenter,boxes(-43,-50,43,50)
     4195820 region=relcenter,boxes(-43,-50,43,50)
     4205948 region=relcenter,boxes(-42,-50,42,50)
     4216076 region=relcenter,boxes(-42,-50,42,50)
     4226204 region=relcenter,boxes(-42,-50,42,50)
     4236332 region=relcenter,boxes(-42,-50,42,50)
     4246460 region=relcenter,boxes(-41,-44,41,44)
     425}}}
     426
     427And we run imframe using dac_repeat.pl like this:
     428
     429dac_repeat.pl --task imframe --repeat in --repeat-freq rnovalmc_m2_%f.map --repeat out --repeat-freq rnovalmc_m2_small_%f.map --args-file dac_imframe_args.txt
     430