Remember that if you include the keywords freq and iffreq in a setup, then the tuning program will be called every time you use this setup. This will be done regardless of whether tuning is necessary! Some observations do not call for tuning more than once for a project, so tuning each time the setup is used may not be desirable. To solve this, create a setup with just the tuning information . Also, add a call to scan at the beginning of your observations which uses this tuning setup as the setup argument. For example:
# Setups follow: setup name=tune freq=88.6318 iffreq=-770 obsline=hcn dopsrc=orimsr ### define other setups... # Observing follows: scan setup='tune' ### other observing commands....
Likewise, if any of the correlator keywords (cor*) are present in a setup, then the correlator program will be called every time this setup is used. This will be done regardless of whether or not the correlator characteristics have changed! Including the correlator keywords would be appropriate when the source and calibrator use different correlator modes. However, for those observations where the same correlator setup is used for all observations, this may not be desirable. In this case, like with the tuning, the correlator should be set once at the beginning of the observation and then not again. As in the example above for tuning, a single setup can also be created which defines the correlator setup and is then executed with a single call to scan at the beginning of the project observation.
Note: For more information regarding how to pick your correlator settings, refer to the Miriad tasks xcorf and corset.
Furthermore, if the tuning and the correlator are only set once per project, the setup in the above example can be modified to include both the tuning and correlator information and then set by running scan.
setup name=A elevlim=30 setup name=B setup=A elevlim=20 setup name=C elevlim=20 setup=A setup name=D elevlim=20 elevlim=30then only setup 'B' will use an elevation limit of 20 degrees; setups 'A', 'C', and 'D' will each use an elevation limit of 30 degrees. In other words, the "rightmost" keyword will ALWAYS take precedence.