Long Description | Fully automated focus script for ALFOSC.
[-n <N>]: Number, <N>, of maximal loops, default is 3.
[-t <nn>] Expose <nn> seconds. Default is 10. [-nodefault]: Start from actual focus rather than default focus.
[-filter]: Leave current filters in the beam
[-a <mode>]: Acquisition mode. <mode> can be:- noacq: Use current pointing for focusing.
- nearest: Use nearest focus field from current pointing.
- optimal: Use nearest focus field between 60-70 degrees altitude (default)
Focus is determined without any filter in the beam (except if the -filter flag is set). Filter and any other ALFOSC instrument & detector settings will be saved before running the focus script and restored at the end.
The 'focus' command is the recommended way of focusing the telescope. In case the command fails, for instance if too few stars are detected in the image, the focus can be determined in a more interactive mode by using the commands focuspyr-setup, expose, focuspyr, focus-position (see documentation on these commands for further information).
Usage example: alfosc.focus -n 4 -t 15 -a nearest Focuses the telescope using the nearest focusfield, doing 4 loops with individual exposures of 15s. |