| 353 | We first need to calculate the primary beam size of the antenna for each central frequency, which is simply |
| 354 | |
| 355 | 1.22 * (c/f) / D |
| 356 | |
| 357 | where c is the speed of light, f is the central frequency and D is the diameter of the telescope, in this case 22m. |
| 358 | Using this information, and the beam sizes that were computed during the restor operations above, we can determine |
| 359 | the image sizes (in pixels) that we need to image 3 times the primary beam size. All this information is in the |
| 360 | table 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 | |
| 380 | So we make a file called dac_invert_args.txt that looks like this: |
| 381 | |
| 382 | {{{ |
| 383 | 4540 cell=26.672,22.525 imsize=255,302 |
| 384 | 4668 cell=25.265,21.494 imsize=262,308 |
| 385 | 4796 cell=24.635,20.907 imsize=261,308 |
| 386 | 4924 cell=23.992,20.378 imsize=261,308 |
| 387 | 5052 cell=23.463,19.901 imsize=260,307 |
| 388 | 5180 cell=22.910,19.483 imsize=260,306 |
| 389 | 5308 cell=22.394,19.020 imsize=260,306 |
| 390 | 5436 cell=21.931,18.553 imsize=259,306 |
| 391 | 5564 cell=21.531,18.208 imsize=258,305 |
| 392 | 5692 cell=21.018,17.827 imsize=258,304 |
| 393 | 5820 cell=20.568,17.428 imsize=258,304 |
| 394 | 5948 cell=20.152,17.082 imsize=257,304 |
| 395 | 6076 cell=19.800,16.781 imsize=257,303 |
| 396 | 6204 cell=19.379,16.469 imsize=257,302 |
| 397 | 6332 cell=19.053,16.110 imsize=256,303 |
| 398 | 6460 cell=19.330,16.151 imsize=247,296 |
| 399 | }}} |
| 400 | |
| 401 | And we run invert using dac_repeat.pl like this: |
| 402 | |
| 403 | dac_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 | |
| 405 | This makes the triple-sized maps and beams, and now we have to chop out the normal sized map |
| 406 | using imframe. We make the file dac_imframe_args.txt that looks like this: |
| 407 | |
| 408 | {{{ |
| 409 | 4540 region=relcenter,boxes(-42,-50,42,50) |
| 410 | 4668 region=relcenter,boxes(-43,-51,43,51) |
| 411 | 4796 region=relcenter,boxes(-43,-51,43,51) |
| 412 | 4924 region=relcenter,boxes(-43,-51,43,51) |
| 413 | 5052 region=relcenter,boxes(-43,-51,43,51) |
| 414 | 5180 region=relcenter,boxes(-43,-51,43,51) |
| 415 | 5308 region=relcenter,boxes(-43,-51,43,51) |
| 416 | 5436 region=relcenter,boxes(-43,-51,43,51) |
| 417 | 5564 region=relcenter,boxes(-43,-50,43,50) |
| 418 | 5692 region=relcenter,boxes(-43,-50,43,50) |
| 419 | 5820 region=relcenter,boxes(-43,-50,43,50) |
| 420 | 5948 region=relcenter,boxes(-42,-50,42,50) |
| 421 | 6076 region=relcenter,boxes(-42,-50,42,50) |
| 422 | 6204 region=relcenter,boxes(-42,-50,42,50) |
| 423 | 6332 region=relcenter,boxes(-42,-50,42,50) |
| 424 | 6460 region=relcenter,boxes(-41,-44,41,44) |
| 425 | }}} |
| 426 | |
| 427 | And we run imframe using dac_repeat.pl like this: |
| 428 | |
| 429 | dac_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 | |