DataTank

Introduction - Array from file sequence

Description

All variable types except "Data File" can be time dependent. If a time dependent variable is used as input in a computational module, the output of that module will also be time dependent. The current time value is controlled by the slider at the bottom of the script window.

This movie shows how to define a time depdendent file variable from a collection of files. This module will guess the pattern from the specified file name. You can also drag a collection of files from the finder to create a time series using the "Table" computational module inside "File Name".

You can scrub through the time values or play the animation automatically. In this case, when the time is 1.55444... the variable that is drawn is the variable defined at 1.5, i.e. the plot gotten from the file Array_16. As soon as the slider passes 1.6, the plot in file Array_17 is drawn. The array is read only when the plot is needed, and kept in memory until it needs to be cleared for something that is deemed to be more important. Since the data set is very small, the entire plot sequence will be stored in memory and the array will not have to be parsed again.

In this case, the value range can not be determined without computing all of the time values. The value range is therefore the range of the current time value of the plot. The "Value Range" setting can be adjusted to change this behavior. Using the "Accumulative" option will increase the range to fit the largest value. This can be seen in the next movie. It is also possible to specify the range explicitly.

| Contact | ©2003 Visual Data Tools, Inc.