Open main menu
SUPPORT DOCUMENTATION

Using ART 3 with a Minimus

Güralp System's strong motion Analysis and Research Tool-kit, ART 3, can work with data produced by Minimus, Minimus+ or Minimus2 digitisers, as well as digital instruments containing a Minimus, such as the Certimus and Fortimus. A few simple changes need to be made to configuration files before ART can process these data correctly, however, and this document describes how to make such changes.

The required steps are identical whether the source is a Minimus, Minimus+, Minimus2, Certimus or Fortimus so, to simplify the text, this page will refer to Minimus only, instead of repeating the list each time.

Overview

ART is an add-on package for our Scream software. ART needs information about the instrument and digitisers that are providing its input. It looks for this information in two files, calvals.txt and polezero.txt. These are located in the same folder as the Scream binary. For each set of three triaxial streams, calvals.txt gives the instrument's sensitivity for each channel, the digitiser's bit-weight for each channel and a response code, which specifies the frequency response. Some response codes are built into Scream and ART but, if a specified response code is unknown, it is looked up in the file polezero.txt, which is expected to list the poles, the zeros and the normalisation factor, A₀, for each unknown response code. If a set of poles and zeros for the response code is not found in polezero.txt, an error is reported.

The Minimus will generate text-files which can be inserted into calvals.txt and polezero.txt,. These text-files can be downloaded from the Minimus' web page once the Minimus knows the correct values. The format generated by the Minimus, however, gives one response code per component, rather than one per triaxial set of three components, and ART cannot parse this format. We need, therefore, to condense the text so that only one response code is used and defined in the two files.

Calibration data input

Digital instruments such as the Certimus and Fortimus are aware of their calibration values so this section can be skipped. The same is true of the combination of Certis and Minimus.

Calibration values are programmed into the Minimus using the Calibration Editor built into Discovery software. To access the Calibration Editor, right-click on the instrument in Discovery's main window and select Calibration → Edit Poles and Zeros. The editor window will open but all of the controls will be disabled while the editor attempts to retrieve the current values from the Minimus. Once these values are available, the controls on the form are enabled. This process can take several seconds on a slow link.

The calibration editor has three areas: the top area, which handles the instrument's serial number and basic type (e.g. velocimeter or accelerometer), the central, scrollable, area, which is a tabbed dialogue with one tab for each component, and the bottom area, which contains the controls.

Discovery's calibration editor, unpopulated
On a Minimus+ or a system with one or more Radian sensors attached, there is an additional. outer layer of tabs to select which the instrument for which calibration data are being entered or displayed.

In the top section, verify that the instrument type is being reported as accelerometer. If it is not, open the Minimus' web interface and,on the Setup tab, pick the correct value from the Sensor type drop-down menu for the appropriate sensor. This should be one of Guralp Fortis, Guralp 5TC, Guralp 54T, or Generic acceleration, as appropriate. (ART only works with acceleration data.) If you make a change here, you will need to reboot the Minimus. Allow a minute for the Calibration editor window to update to reflect the change.

The serial number of the attached instrument should then be entered in the Instrument serial number field. This step is essential for integrating with Scream and ART because the serial number acts as the key when looking up calibration values.

Select the Component Z tab in the central area of the editor window. In the Units subsection, tick the Customise component input unit check-box. Select the appropriate units from the Physical unit drop-down menu and the appropriate modifier from the Unit modifier drop-down menu. These are normally Metres per Second Squared [m/s²] for an accelerometer, with the modifier set to none.

In the Parameters subsection, you will see that the Digitiser Volts per count field is already populated. This is because the Minimus is aware of its own calibration values; the calibration values for the attached instrument should now be entered.

For Güralp instruments, the calibration information is contained in the calibration document which was shipped with the instrument, contained in a large yellow envelope. If this information is no longer available, compose an email to with a space-separated list of serial numbers in the subject line. The most recent calibration documents for each will be sent by return.

Now fill in the remaining fields in the Parameters section. The check-box next to each field that you complete should be ticked unless noted below.

In the Response section, enter the poles and zeros as printed on the last page of the instrument's calibration document.

The poles and zeros of Güralp instruments are published in units of Hertz. If a third-party accelerometer is being used and its supplied poles and zeros are given in radians per second, they must be converted to Hertz before being entered. Both the real and imaginary parts of every pole and every zero should be multiplied by 2π. The normalisation factor, A₀, should be multiplied by 2π raised to the power of the number of poles minus the number of zeros.
The imaginary part of a complex pole or zero is denoted either by the letter i or by the letter j and these can be used interchangeably. Mathematicians prefer i and engineers prefer j but there is no difference between the two notations.
When finished, ensure that the check-boxes associated with unused poles and zeros fields are clear and the check-boxes for the used poles and zeros fields are ticked.

The configuration for the Z component is now complete. Select the Component N tab in the central area and repeat the process for the North/South component of the instrument. When complete, select the Component E tab and enter the values for the East/West component. Finally, select the Component X tab and enter the values for the auxiliary/calibration return channel.

When all channels are configured, click the 'Send instrument calibration to device' button to save the entered data to the Minimus.

The Send to Device button can also be used. If only one instrument is displayed, both buttons do the same thing. If the digitiser is a Minimus+ or has one or more Radians attached, the Send to Device button sends the data for all instruments while the the 'Send instrument calibration to device' button button sends only the data for the instrument identified by the currently visible tab.

Downloading the calibration files

Open the web interface of the Minimus and click to the Storage tab. Scroll down to the section titled Auxiliary files and click on the links calvals.txt and polezero.txt to download the two text-files.

Alternatively, if you know the I.P. address of the Minimus, you can use a command-line tool like wget or curl to download the files from

http://192.0.2.10/calvals.txt

and

http://192.0.2.10/polezero.txt

replacing 192.0.2.10 with the I.P. address of your Minimus.

Modifying the files

The calvals.txt that you have downloaded contain a section for each connected instrument. The sections are introduced by an instrument identifier enclosed in square brackets. This is followed by a number of entries assigning values to various keys. A typical entry for an instrument looks like this:

[A555-ACC] G=1984,1982,1986,1 VPC=2.44,2.44,2.44,2.44 RESPONSE=A555-0Z_A Acceleration,A555-0N_A Acceleration,A555-0E_A Acceleration,A555-0X_A Acceleration CALVPC=0.97639997

This entry defines:

The Minimus uses non-standard response codes: i.e. codes which have not been compiled into the Scream and ART executables. Instead, it makes use of the extended response code facility whereby non-standard codes can be defined in a separate file called polezero.txt. The polezero.txt file accompanying the calvals.txt files shown above looks like this:

[A555-0Z_A Acceleration] Z=0+0j,0+0j P=-0.00589-0.00589j,-0.00589+0.0058900j,-62.3816+135.392j,-62.3816-135.392j,-350+0j,-75+0j A=583340032 [A555-0N_A Acceleration] Z=0+0j,0+0j P=-0.00589-0.00589j,-0.00589+0.0058900j,-62.3816+135.392j,-62.3816-135.392j,-350+0j,-75+0j A=583340032 [A555-0E_A Acceleration] Z=0+0j,0+0j P=-0.00589-0.00589j,-0.00589+0.0058900j,-62.3816+135.392j,-62.3816-135.392j,-350+0j,-75+0j A=583340032 [A555-0X_A Acceleration] Z= P= A=

This provides a list of zeros, a list of poles and A₀, the normalisation factor, for each of the response codes named in the associated calvals.txt

The problem is that Scream and ART cannot process multiple response codes in calvals.txt. Fortunately, the definitions of the codes for the three seismic channels are identical, so we can replace the list of response codes with a single code. We can use the same format and simply omit the component designator (Z, N, E and X) so, for example, the line

RESPONSE=A555-0Z_A Acceleration,A555-0N_A Acceleration,A555-0E_A Acceleration,A555-0X_A Acceleration

becomes

RESPONSE=A555-0_A Acceleration
The first code has had the Z removed, changing it from
A555-0Z_A Acceleration
to
A555-0_A Acceleration

which tells Scream and ART to use the same response code for all four channels. We can then simplify the associated polezero.txt file by renaming the first code, removing the component designator (Z) and deleting the subsequent definitions. The new version will look like this:

[A555-0_A Acceleration] Z=0+0j,0+0j P=-0.00589-0.00589j,-0.00589+0.0058900j,-62.3816+135.392j,-62.3816-135.392j,-350+0j,-75+0j A=583340032
The section heading has had the Z removed, changing it from
[A555-0Z_A Acceleration]
to
[A555-0_A Acceleration]

If the Minimus has multiple connected instruments, these files will contain additional entries. They can, however, each be processed as described above: even to the extent of sharing response codes between instruments.

Merging the files

Once modified as described above, the files need to be merged into the copies that Scream and ART use. These are located in the same directory as the Scream binary, which is usually C:\Program Files(x86)\Guralp Systems\Scream4.6. Look in that directory to see if the files already exist.

Merging calvals.txt

The calvals.txt file contains a section for each instrument that Scream has known about. The sections are introduced by an instrument identifier enclosed in square brackets. This is followed by a number of entries assigning values to various keys. In the sample entry that we introduced earlier,

[A555-ACC] G=1984,1982,1986,1 VPC=2.44,2.44,2.44,2.44 RESPONSE=A555-0Z_A Acceleration,A555-0N_A Acceleration,A555-0E_A Acceleration,A555-0X_A Acceleration CALVPC=0.97639997

the instrument identifier is A555-ACC. Open the calvals.txt file that you have just created and make a note of the instrument identifier(s). Now open the existing calvals.txt file from the Scream directory in a different editor window and see if it already contains sections for those identifiers. If it does, delete the identifier and all subsequent, associated lines until the next identifier. Scroll to the bottom and then copy the data from your new file into the bottom of the existing file. Save the file and exit the editor.

If a new data source appears while you have calvals.txt open in an editor, Scream will attempt to alter the existing file to add entries for the new streams. If this is likely to happen, you may wish to stop Scream from running before editing the file and restart it afterwards.

Merging polezero.txt

The polezero.txt file contains a section that provides definitions for non-standard response codes - i.e. those which are not precompiled into Scream and ART. Each definition is introduced the by response code to be defined, enclosed in square brackets. In the sample entry that we introduced earlier, the first entry read

[A555-0Z_A Acceleration] Z=0+0j,0+0j P=-0.00589-0.00589j,-0.00589+0.0058900j,-62.3816+135.392j,-62.3816-135.392j,-350+0j,-75+0j A=583340032

and the response code in this case is A555-0Z_A Acceleration. Response codes are always in two parts, separated by a space. The second part gives the dimension of the response, which is normally Velocity or Acceleration, although other values are possible. The first part is simply a unique value that serves to tie entries in calvals.txt to appropriate definitions in polezero.txt.

Open the polezero.txt file that you have created and make a note of the response codes defined within it. Now open the existing polezero.txt file from the Scream directory in a different editor window and see if it already contains definitions for those response codes. If it does, delete the response code and the associated definition lines. Scroll to the bottom and then copy the data from your new file into the bottom of the existing file. Save the file and exit the editor.

Testing

Configure Scream to receive live data from the Minimus and open a WaveView window to view the data. Highlight each stream in turn and key D to open a details window. If the details are denominated in acceleration units, the changes you made to calvals.txt have been effective. Key D again to close the details window and proceed to highlight the next stream.

Pause the data in the WaveView window by clicking the 'Pause' icon in the toolbar. Select a period of data by holding down shift and the left mouse-button while drawing a box to surround the data of interest. Release the mouse-button and then release shift: a context menu will appear. Select ART 3.

Invoking ART from the context menu in Scream's WaveView window

If ART opens with no error messages, your changes have been successful.

Further information

For more information about the topics covered here, please contact .

For more information about using ART, please see the ART manual.