Skip to content

Commit

Permalink
Changed default peak factor calculator to LP99.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkottke committed Sep 9, 2014
1 parent 4381689 commit 88aab46
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,13 @@ following output:
Specify the peak factor calculation method. Possible
options are: BJ84: Boore and Joyner (1984) BT12: Boore
and Thompson (2012) DK85: Der Kiureghian (1985) LP99:
Liu and Pezeshk (1999) TM87: Toro and McGuire (1987)
V75: Vanmarcke (1975) [default] If the BT12 method is
used, then the magnitude, distance and region must be
provided.
Liu and Pezeshk (1999) [default] TM87: Toro and
McGuire (1987) V75: Vanmarcke (1975) If the BT12
method is used, then the magnitude, distance and
region must be provided. The LP99 is the default
method as it provides correction for oscillation
duration without the need for specifying magnitude,
distance, and region.

For example, to compute the Fourier amplitude spectra that were compatible with
target response spectrum the following command could be used:
Expand Down
12 changes: 8 additions & 4 deletions pyrvt/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,21 @@
0.01 to 10 sec log-spaced with 100 points. Target SA values will be
interpolated if needed''')
parser.add_argument(
'-m', '--method', dest='method', default='V75',
'-m', '--method', dest='method', default='LP99',
help='''Specify the peak factor calculation method. Possible options
are:
BJ84: Boore and Joyner (1984)
BT12: Boore and Thompson (2012)
DK85: Der Kiureghian (1985)
LP99: Liu and Pezeshk (1999)
LP99: Liu and Pezeshk (1999) [default]
TM87: Toro and McGuire (1987)
V75: Vanmarcke (1975) [default]
V75: Vanmarcke (1975)
If the BT12 method is used, then the magnitude, distance and region
must be provided.'''
must be provided.
The LP99 is the default method as it provides correction for oscillation
duration without the need for specifying magnitude, distance, and region.
'''
)

args = parser.parse_args()
Expand Down

0 comments on commit 88aab46

Please sign in to comment.