next up previous 62
Next: Importing Gridded Data
Up: Basic Use of DX
Previous: Basic Use of DX


Running a network

Running a DX network to generate a visualisation comprises three stages: specifying the input (particularly the file to be read), running the network and examining the result. This example describes how to execute the simple network loaded in the previous section. It will be used to view an example data file, supplied with the cookbook, which contains a data cube of a simple Gaussian. This data cube is a `field' in the context of DX; see Section [*] for an explanation of this term.

  1. Double-click on the `Import' module; the configuration window shown in Figure [*] should appear.

    1. Set input `name' to: $STARLINK_DIR/examples/sc2/field.general

      This file is the DX `header' file describing the data file. Files written by an external program and imported into DX are described by a separate header file. See Sections [*] and [*] for details. Note that it is the name of the header file, not the data file, which is given here. If the header file is in your current directory then the directory specification can be omitted.

    2. Set input `variable' to: Gaussian

      This input specifies which field within the data file is to be read. In the current example the field is called `Gaussian'. Again see Sections [*] and [*] for details.

    3. Set input `format' to: general

      Here `general' means that the data file has been written by an external program and is described by a separate header file. The only other option which you are likely to encounter is ` dx' for a native DX format file.

    4. When all the values have been set correctly simply click on the `OK' button.

  2. To run the network select `Execute Once' from the `Execute' menu. The network will probably take a few minutes to run.

  3. After a few minutes a window containing the visualisation will appear. The options for this window allow you a great deal of choice in viewing the visualisation. The following couple of hints might be useful.



next up previous 62
Next: Importing Gridded Data
Up: Basic Use of DX
Previous: Basic Use of DX

The DX Cookbook
Starlink Cookbook 2
A.C. Davenhall
1st October 1997
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council