Difference between revisions of "Geopsy-fk"

From GeopsyWiki
Jump to navigation Jump to search
Line 61: Line 61:
  
 
== Single component high resolution FK ==
 
== Single component high resolution FK ==
 +
 +
The simplest way to invoke ''geopsy-fk'' is:
 +
 +
  $ geopsy-fk -db ../Lep_ring01_3C.gpy -group-path vertical
 +
 +
Input parameters are automatically adjusted and results are saved in file 'a-vertical.max'. By default,
 +
* the maximum velocity is set to 50 m/s,
 +
* time windows are 100-period long,
 +
* the minimum frequency is set to have at least 50 time windows,
 +
* the maximum frequency is set to Nyquist frequency,
 +
* 2N blocks are used to calculate the cross spectral matrices where N is the number of sensors.
 +
 +
These values can be changed by providing a parameter file:
 +
 +
  $ geopsy-fk -db ../Lep_ring01_3C.gpy -group-path vertical -param my.param -o my
 +
 +
where ''my.param'' can be for instance:
 +
 +
  PERIOD_COUNT=100
 +
  MINIMUM_FREQUENCY=1
 +
  MAXIMUM_FREQUENCY=30
 +
  MIN_V=125
 +
  BLOCK_COUNT_FACTOR=1
 +
 +
Option '''-o''' modifies the output base name which is by default ''a''. Alternatively, parameters can be modified directly in the command line:
 +
 +
  $ geopsy-fk -db ../Lep_ring01_3C.gpy -group-path vertical -param my.param -o my -set-param "MIN_V=100"
 +
 +
In this last case, the parameters are first loaded from ''my.param'' and then ''MIN_V'' is set to 100 instead of 125 m/s. The order of the options '''-param''' and '''-set-param''' matters.
 +
 +
There are many other secondary parameters. To get a list of all possible parameters and their default values, run:
 +
 +
  $ geopsy-fk -param-example
 +
 +
Results can be viewed with:
 +
 +
  $ gphistogram my-vertical.max
  
 
== Single component conventional FK ==
 
== Single component conventional FK ==

Revision as of 10:22, 10 July 2018

Signal database preparation

Signal viewer for one group of simultaneously recorded waveforms ready for array processing

This step is performed with Geopsy graphical interface. If you have followed all steps for the preparation of a database, loading coordinates and grouping, you should have now a set of simultaneously recorded waveforms building a group and containing coordinates for each waveform.

Alternatively, you can download a ready-to-go database file and the corresponding waveform files at this location. Note that you have to re-locate your waveform files as described in detail in this page. Or without a graphical interface:

 $ geopsy-fk -db Lep_ring01_3C.gpy -fix-signal-paths
 ----WARNING--- Opening Database...----
 File '/home/mao/GEOPSY_DOC_WORKSHOP/RING01_SHORT/WA.WAU01..HHE.D.2010.056.000' does not exist.
 The path may have changed. Would you like to manually select its new location?
   1. Yes <-- default
   2. No
 ?

Hit enter or answer '1', 'y' or 'yes'.

 Show this message again? [y]/n

Hit enter or answer 'y' or 'yes'.

 ---- Opening Database... ----
   Filter: Signal file (WA.WAU01..HHE.D.2010.056.000)
   Current directory: /tmp
   Please select file '/home/mao/GEOPSY_DOC_WORKSHOP/RING01_SHORT/WA.WAU01..HHE.D.2010.056.000' in its new location.
 File to open:

Provide the absolute or the relative path to the requested file(s). For instance:

 RING01_SHORT/WA.WAU01..HHE.D.2010.056.000

Files having similar paths are automatically translated. At the end the database is saved with your local paths. You can check that all paths are correct by re-starting the same command: you should get not output. You can also view the signals in a graphical user interface:

 $ geopsy Lep_ring01_3C.gpy


This database contains two predefined groups: vertical and 3C. Please test, whether you can view the signals, use drag and drop functionality or check the coordinate settings in the table view or map view. If you display the predefined group vertical in a graphic viewer, you should obtain a picture similar to the one displayed on the right.

Another way to get the list of groups is:

 $ geopsy-fk -db Lep_ring01_3C.gpy -groups
 geopsy-fk: Default groups
 geopsy-fk: Default groups/All signals
 geopsy-fk: Default groups/Temporary signals
 geopsy-fk: Default groups/All files
 geopsy-fk: Default groups/Temporary files
 geopsy-fk: Default groups/Permanent files
 geopsy-fk: Default groups/By names
 geopsy-fk: Default groups/By components
 geopsy-fk: Default groups/By receivers
 geopsy-fk: Default groups/By sources
 geopsy-fk: vertical
 geopsy-fk: 3C

Single component high resolution FK

The simplest way to invoke geopsy-fk is:

 $ geopsy-fk -db ../Lep_ring01_3C.gpy -group-path vertical

Input parameters are automatically adjusted and results are saved in file 'a-vertical.max'. By default,

  • the maximum velocity is set to 50 m/s,
  • time windows are 100-period long,
  • the minimum frequency is set to have at least 50 time windows,
  • the maximum frequency is set to Nyquist frequency,
  • 2N blocks are used to calculate the cross spectral matrices where N is the number of sensors.

These values can be changed by providing a parameter file:

 $ geopsy-fk -db ../Lep_ring01_3C.gpy -group-path vertical -param my.param -o my

where my.param can be for instance:

 PERIOD_COUNT=100
 MINIMUM_FREQUENCY=1
 MAXIMUM_FREQUENCY=30
 MIN_V=125
 BLOCK_COUNT_FACTOR=1

Option -o modifies the output base name which is by default a. Alternatively, parameters can be modified directly in the command line:

 $ geopsy-fk -db ../Lep_ring01_3C.gpy -group-path vertical -param my.param -o my -set-param "MIN_V=100"

In this last case, the parameters are first loaded from my.param and then MIN_V is set to 100 instead of 125 m/s. The order of the options -param and -set-param matters.

There are many other secondary parameters. To get a list of all possible parameters and their default values, run:

 $ geopsy-fk -param-example

Results can be viewed with:

 $ gphistogram my-vertical.max

Single component conventional FK

Three-component high resolution FK (RTBF)

Direct steering three-component high resolution FK