Смекни!
smekni.com

7 Конфигурирование цифровых преобразователей 85 (стр. 33 из 35)

Scream is a data visualisation and recording tool. It is not intended for performing detailed analysis on the data received. However, extensions are available for Scream which can carry out calculations on seismic data. These extensions can be stand-alone programs, or scripts written in MATLAB. Some sample extension scripts are supplied in the Scream program distribution.

Выполнение детализированного анализа полученных данных не предусмотрено функциями Scream. Однако, есть доступные расширения, обеспечивающие функции анализа сейсмических данных. Эти расширения могут быть отдельными программами, или скриптами, написанными в MATLAB. Некоторые типовые скрипты расширения вставляются в программу Scream.

12.1 Установка новых расширений

Installing new extensions

To install a program extension:

-Place the program file in a suitable directory, preferably in your PATH (i.e. you can launch it by typing its name at a command prompt.)

-Make sure Scream is not running, and open the scream.ini file (see section 14.3, page 132, for help finding this file.)

-Look for a section beginning with the line

[custom]

-If it does not exist, add the following lines at the end of the file:

[custom]

SelectionMenu=executable-name

new-extension-name should be the name of the program if it is in your PATH, and the full filename otherwise.

If you want the displayed menu entry to be different from the filename, use the form

[custom]

SelectionMenu=executable-name|displayed-name

e.g.

SelectionMenu=art.exe|ART 2.0 Analysis Package

-If the line [custom] exists, add the name of the new extension to the list after SelectionMenu, separating names with commas, e.g.

SelectionMenu=art.exe|ART 2.0 Analysis Package,myextension. exe|My Analysis Extension

To install a MATLAB extension:

-Make sure MATLAB 5 or later is installed on your computer, together with the MATLAB signal processing toolbox.

-If you have not done so, register MATLAB as an “automation server”. See the MATLAB documentation for more details.

-Place the script file in MATLAB's PATH, so that MATLAB can see it.

-Make sure Scream is not running, and open the scream.ini file in Scream' s directory.

-Add the name of the script to the SelectionMenu as detailed above.

When an extension is launched, Scream first saves the data to a file samplesn.txt in the standard temporary directory (using the TEMP environment variable, or /tmp under Linux.) A second file, scrhdr.txt, is saved at the same time, which directs the script to the location of the data. The script or program is expected to fetch the data from this file. If you have problems, make sure that Scream has the right permissions to create these files, and that your temporary space is not full.

Чтобы установить расширение программы:

1. Поместите программный файл в подходящий каталог, предпочтительно в Ваш PATH (то есть Вы можете запустить программу установки, вводя ее имя в командной строке).

2. Удостоверьтесь Scream не работает, и откройте scream.ini файл (для получение справки о том как найти этот файл см. раздел 14.3, страницу 132).

3. Ищите раздел, начинающийся со строки

[custom]

4. Если этой линии нет, добавьте следующие строки в конце файла:

[custom]

SelectionMenu=executable-name

Где new-executable-name – имя нового расширения должно быть названием программы, если она находится в Вашем каталоге PATH, и полное имя файла в любом случае.

Если Вы хотите, чтобы отображенный вход меню отличался от имени файла, используйте форму

[custom]

SelectionMenu=executable-name|displayed-name

e.g.

SelectionMenu=art.exe|ART 2.0 Analysis Package

5. Если строка [custom] существует, добавьте название нового расширения в список после SelectionMenu, отделяя названия запятыми, например.

SelectionMenu=art.exe|ART 2.0 Analysis Package,myextension. exe|My Analysis Extension

Начало начало

Устанавливать расширение MATLAB:

- Удостоверьтесь MATLAB 5, или позже установлен на Вашем компьютере, вместе с инструментарием обработки сигналов MATLAB.

- Если Вы не сделали так, регистрируйте MATLAB как “сервер автоматизации”. См. документацию MATLAB для большего количества подробностей.

- Поместите файл скрипта в PATH MATLAB, так, чтобы MATLAB мог видеть это.

- Удостоверьтесь Scream не работает, и открывать scream.ini файл в Scream каталог.

- Добавьте название скрипта к SelectionMenu как детализировано выше.

Когда расширение начато, Scream сначала сохраняет данные к файлу samplesn.txt в стандартном временном каталоге (использование переменной среды TEMP, или/tmp под Linux). второй файл, scrhdr.txt, сохранен в то же самое время, который направляет скрипт к местоположению данных. Скрипт или программа, как ожидают, выберут данные от этого файла. Если у Вас есть проблемы, удостоверьтесь, что Scream имеет правые разрешения создать эти файлы, и что Ваше временное пространство не полно.

12.2 Запуск расширений

Running extensions

To export data to a Scream extension:

-Open a Waveview window on the stream or streams of interest, and find the data you want to analyse.

-Click the Pause button

pause-icon to pause the window.

-Whilst holding down SHIFT, drag a box across the streams. The selected data will be highlighted. Alternatively, drag with CTRL to select two streams (see “Paused mode”, page 32.)

-When you release the mouse button, a menu will pop up showing the extensions available.

Экспортировать данные к Scream расширение:

- Откройте окноWaveview на потоке или потоке, представляющем интерес, и найдите данные, которые Вы хотите проанализировать.

- Нажмите

значок паузы кнопки Pause,чтобы приостановить окно.

- Удерживая SHIFT, перетащите окно через поток. Выбранные данные будут подсвечены. Альтернативно, переместитесь с CTRL чтобы выбрать два потока (см. “режим Paused”, страницу 32).

- Когда Вы выпустите кнопку мыши, меню выскочит, показывая доступным расширениям.

Рис. 12‑1

- Click on the name of the extension you want to run. The standard Scream package includes a number of useful extensions:

ART Analysis Package: Güralp Systems' suite of tools for strong motion analysis. See the separate ART documentation for full details of this package.

PSD in Velocity Units and PSD in Acceleration Units: These extensions produce instant power spectral density plots of the selected time series.

Sine Wave Calibration and Broadband Noise Calibration: These extensions help you to calibrate sensors using an input sinusoidal or pseudo-random noise signal. These signals can be generated by Güralp Systems DM24 and CD24 digitizers, allowing you to calibrate sensors quickly and easily.

Relative Orientation: This extension applies the Güralp-Blacknest correlation method to determine the orientation of an instrument (usually a borehole instrument.) It uses coherence techniques to estimate the angle between the horizontal components of two sensors, where one is rotated with respect to the other.

- Нажмите на название расширения, которое Вы хотите выполнить. Стандарт Scream упаковывает, включает многие полезные расширения:

ART Analysis Package: набор программ Систем Güralp инструментальных средств для сильного анализа движения. См. отдельную документацию ART для полных подробностей этого пакета.

PSD in Velocity Units and PSD in Acceleration Units:Эти расширения производят мгновенную мощность, которой спектральная плотность чертит выбранных временных рядов.

Sine Wave Calibration and Broadband Noise Calibration: Эти расширения помогают Вам калибровать датчики, используя входной синусоидальный или псевдослучайный шумовой сигнал. Эти сигналы могут быть сгенерированы Системами Güralp DM24 и цифровые преобразователи CD24, разрешая Вам калибровать датчики быстро и легко.

Relative Orientation: Это расширение применяет метод корреляции Güralp-Blacknest, чтобы определить ориентацию инструмента (обычно скважинного инструмент). Это использует методики последовательности, чтобы оценить угол между горизонтальными компонентами двух датчиков, где каждый вращается относительно другого.


13 Клавиши быстрого вызова

Keyboard shortcuts

13.1 Основное окно

Certain menu options are available from keyboard shortcuts:

Ctrl-A: Select all streams.

Ctrl-I: Open the ViewInfo window.

Ctrl-N: Open the Network Control window.

Ctrl-S: Open the Setup window.

Ctrl-U: Open the Summary window.

Ctrl-W: Open a new, empty Waveview window.

ENTER: Open a new Waveview window on the selected stream(s).

If an entry in the left-hand pane is selected, you can also navigate the device tree with arrow keys:

↑: Move to the previous entry.

↓: Move to the next entry.

←: “Roll up” the current entry.

→: “Unroll” the current entry.

DELETE: Remove the current entry (if not Files, Local or Network) and any sub-entries. Also clear any data from streams under this heading from the stream buffer. You will not be able to get data back after it has been removed from the stream buffer, except by replaying recorded data.