| 126 | However, to do this requires a lot of repetition. This repetition can be handled quickly using the `dac_repeat.pl` |
| 127 | script that is attached to this webpage. It works for any MIRIAD task that you want to run in the same way for |
| 128 | multiple visibility sets. For example, to run mfcal on each secondary set, give the following command: |
| 129 | |
| 130 | `dac_repeat.pl --task mfcal --repeat vis --repeat-freq 0515-674 interval=0.1` |
| 131 | |
| 132 | The script will find all the frequencies that 0515-674 was observed at and repeat the command |
| 133 | |
| 134 | `mfcal vis=0515-674.???? interval=0.1` |
| 135 | |
| 136 | for each set. It can also be used to vary multiple inputs, so we can automatically generate postscript plots |
| 137 | for each set, letting the script change the name of the file each time: |
| 138 | |
| 139 | `dac_repeat.pl --task uvplt --repeat vis --repeat-freq 0515-674 --repeat device --repeat-freq 0515-674_%f.ps/cps axis=real,imag options=nobase` |
| 140 | |
| 141 | The script will repeat the command |
| 142 | |
| 143 | `uvplt vis=0515-674.???? device=0515-674_????.ps/cps axis=real,imag options=nobase` |
| 144 | |
| 145 | because the `%f` format modifier makes the script substitute the available frequencies. |