Prev Up Next
Go backward to 6 Getting good extra-focal images.
Go up to Top
Go forward to 8 Extensions to the Tcl/Tk language in this program.

7 Tcl functions for implementing wavefront reconstruction

In this chapter we describe a set of functions that has been written to implement the extra-focal data reduction. These routines may be used directly from the tclsh command line if desired, or used to construct a batch processing system for data reduction. The functions covered in this discussion are those that are most likely to be useful for writing a data reduction batch files. Please note that the batch commends are undegoing development at the moment, and we cannot guarantee compatibility in future versions of the program. If you intend to use the ef batch mode please let us know, so that we may consult you regarting future changes.

If you wish to write batch files you will probably find it useful to become familiar with the Tcl language syntax. A discussion of this subject is beyond the scope of this manual. We recommend purchasing the book Tcl/Tk by John Ousterhout.

Due to the way in which the Tk extension works, it is often convenient to pass arguments to Tcl functions implicitly using global variables. Though these global arguments are not part of the formal parameter list to a procedure they do an equally important part of the procedures interface. We will therefore describe both the formal parameters, and the global values that a Tcl function uses. You may find yourself needing to modify some global data values before calling a Tcl function. For some of the more common functions, a command line wrapper function exists, which takes care of setting the global values for you.

  • 7.1 An example batch file.
  • 7.2 ef_seq and related commands.
  • 7.3 Output of results.

  • Laplacian Optics Inc.     Email:   laplace@laplacian.com

    Prev Up Next