From 88aab46f5bb37f7d809cbb9550edc20c275fe7de Mon Sep 17 00:00:00 2001 From: Albert Kottke Date: Tue, 9 Sep 2014 08:08:45 -0700 Subject: [PATCH] Changed default peak factor calculator to LP99. --- README.rst | 11 +++++++---- pyrvt/runner.py | 12 ++++++++---- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 86d0f5e..0770721 100644 --- a/README.rst +++ b/README.rst @@ -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: diff --git a/pyrvt/runner.py b/pyrvt/runner.py index 6367996..3056121 100644 --- a/pyrvt/runner.py +++ b/pyrvt/runner.py @@ -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()