Difference between revisions of "Gpprofile"

From GeopsyWiki
Jump to navigation Jump to search
(New page: == Synopsis == gpprofile [OPTIONS] [FILE] == Description == Prints profile for specified parameters, from a layered model given through stdin or FILE Format for layered models: Line...)
 
Line 18: Line 18:
  
 
==Gpprofile options==
 
==Gpprofile options==
*'''  -vp                       Export Vp profiles
+
*'''  -vp'''                        Export Vp profiles
*'''  -vs                       Export Vs profiles (default)
+
*'''  -vs'''                        Export Vs profiles (default)
*'''  -rho                     Export density profiles
+
*'''  -rho'''                      Export density profiles
*'''  -nu                       Export Poisson's ratio profiles
+
*'''  -nu'''                        Export Poisson's ratio profiles
*'''  -imp                     Export impedance profiles
+
*'''  -imp'''                      Export impedance profiles
*'''  -minmax                   Export minimum and maximum selected profiles from
+
*'''  -minmax'''                    Export minimum and maximum selected profiles from
 
                             input models
 
                             input models
*'''  -d, -depth <depth>       Maximum depth for minimum and maximum profiles
+
*'''  -d, -depth <depth>'''        Maximum depth for minimum and maximum profiles
 
                             (default=100)
 
                             (default=100)
*'''  -n <count>               Number of samples for minimum and maximum profiles
+
*'''  -n <count>'''                Number of samples for minimum and maximum profiles
 
                             (default=100)
 
                             (default=100)
  
Generic options:
 
  -help <SECTION>          Show help about options. SECTION may be empty or:
 
                            all, generic, gpprofile
 
  -version                  Show version information
 
  -app-version              Show short version information
 
  -reportbug                Start bug report dialog, information about bug is
 
                            passed through stdin. This option is used
 
                            internally to report bugs if option -nobugreport is
 
                            not specified.
 
  -reportint                Start bug report dialog, information about
 
                            interruption is passed through stdin. This option
 
                            is used internally to report interruptions if
 
                            option -nobugreport is not specified.
 
  -nobugreport              Do not generate bug report in case of error
 
 
== Gpell options ==
 
 
*'''-n <count>'''                Number of samples (default=100)
 
*'''-R <n modes>'''              Number of Rayleigh modes (default=1)
 
*'''-s <sampling>'''            Defines the sampling type:
 
                              period    regular sampling in period
 
                              frequency  regular sampling in frequency
 
                              log        regular sampling in log(frequency) (default)
 
'''-min <min>'''                Minimum of range for ellipticity curve (default=0.2)
 
'''-max <max> '''              Maximum of range for ellipticity curve (default=20)
 
'''-n <count>'''                Number of samples (default=100)
 
'''-p'''                        Output frequency peaks only
 
'''-c'''                        Output curves only
 
'''-pc'''                      Output curves only with peak refinements
 
  
 
== Generic options ==
 
== Generic options ==
  
 
'''-help <SECTION>'''          Show help about options. SECTION may be empty or: all, html, latex, examples,
 
'''-help <SECTION>'''          Show help about options. SECTION may be empty or: all, html, latex, examples,
                             generic, gpell
+
                             generic, gpprofile
 
'''-version'''                  Show version information
 
'''-version'''                  Show version information
 
'''-app-version'''              Show short version information
 
'''-app-version'''              Show short version information

Revision as of 16:35, 9 March 2010

Synopsis

gpprofile [OPTIONS] [FILE]

Description

Prints profile for specified parameters, from a layered model given through stdin or FILE

Format for layered models:

 Line 1    <number of layers including half-space for first model>
 Line 2    <thickness (m)> <Vp (m/s)> <Vs (m/s)> <Density (kg/m3)>[ <Qp> <Qs>]
 ....
 Line n    0 <Vp (m/s)> <Vs (m/s)> <Density (kg/m3)>[ <Qp> <Qs>]
 Line n+1  <number of layers including half-space for second model>
 ....

Quality factors are not mandatory. Any number of models can be given as input.

Gpprofile options

  • -vp Export Vp profiles
  • -vs Export Vs profiles (default)
  • -rho Export density profiles
  • -nu Export Poisson's ratio profiles
  • -imp Export impedance profiles
  • -minmax Export minimum and maximum selected profiles from
                           input models
  • -d, -depth <depth> Maximum depth for minimum and maximum profiles
                           (default=100)
  • -n <count> Number of samples for minimum and maximum profiles
                           (default=100)


Generic options

-help <SECTION> Show help about options. SECTION may be empty or: all, html, latex, examples,

                           generic, gpprofile

-version Show version information -app-version Show short version information -reportbug Start bug report dialog, information about bug is passed through stdin. This

                           option is used internally to report bugs if option -nobugreport is not
                           specified.

-reportint Start bug report dialog, information about interruption is passed through

                           stdin. This option is used internally to report interruptions if option
                           -nobugreport is not specified.

-nobugreport Do not generate bug report in case of error

Examples

 gpell < test.model

Calculate fundamental ellipticity curve from 0.2 Hz to 20 Hz for model 'test.model'.

 gpell < test.model | figue -c

Calculate the same ellipticity curve and plot it.

 gpell < test.model | figue -c -m ell.mkup

Show the same ellipticity curve on a log-log plot. 'ell.mkup' is a tar.gz file containing an xml description of the graphic format, it can be generated from figue's interface.

Copyright

Copyright (c) 2002-2008 Marc Wathelet. All rights reserved. See http://www.geopsy.org for more information.