Science Operations

Sequence

The sequence node contains the iterator and observe commands that define the series of actions to collect data. It is possible to construct complex sequences using the iterators (and assumed in the following discussion that you have absorbed details of the individual iterators).

Sequence iterators can be nested, much like nested loops in a programming language. For each step of the top level iterator, the nested iterator cycles through all of its values. To illustrate this concept consider the following sequence containing an offset iterator and an observe (recall that the offset iterator defines a series of one or more telescope offset positions and the observe element takes data). The sequence folder contents are shown in figure (a) and the specific offsets, a 20 arc sec Dice 5 pattern shown in figure (b). In figure (c) we see the sequence details.

 

 

The offset, instrument and repeat iterators can be nested inside one another. Suppose we wanted to observe the first two steps of the offset sequence in each of two LUCI filters (recall that the LUCI iterator allows any configurable items in the LUCI instrument component to be changed in a single step).  The sequence below shows how this is done and the result: first we observe the two offset position in the Br-gamma filter and then again in Ks.

 

Note that the effect of reversing the order of the iterators is to create a sequence that cycles through the filters at each offset position: