Skip to content

Commit bd80f69

Browse files
committed
better period range
1 parent d5a00e6 commit bd80f69

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

openquake/smt/comparison/utils_compare_gmpes.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,13 @@
3737

3838

3939
# Periods used in spectra plotting (truncated based on max_period in config)
40-
PERIODS = [PGA(), SA(0.01), SA(0.025) ,SA(0.05),
41-
SA(0.1), SA(0.15), SA(0.2), SA(0.25),
42-
SA(0.3), SA(0.35), SA(0.4), SA(0.45),
43-
SA(0.5), SA(0.6), SA(0.7), SA(0.8), SA(0.9),
44-
SA(1.0), SA(1.1), SA(1.2), SA(1.3), SA(1.4),
45-
SA(1.5), SA(1.6), SA(1.7), SA(1.8), SA(1.9),
46-
SA(2.0), SA(2.2), SA(2.4), SA(2.6), SA(2.8),
47-
SA(3.0), SA(3.2), SA(3.4), SA(3.6), SA(3.8),
48-
SA(4.0), SA(4.5), SA(5.0), SA(5.5), SA(6.0),
49-
SA(6.5), SA(7.0), SA(7.5), SA(8.0), SA(8.5),
50-
SA(9.0), SA(9.5), SA(10.0)]
40+
PERIODS = [PGA(), SA(0.01), SA(0.025), SA(0.04), SA(0.05), SA(0.07), SA(0.1),
41+
SA(0.15), SA(0.2), SA(0.25), SA(0.3), SA(0.35), SA(0.4), SA(0.45),
42+
SA(0.5), SA(0.6), SA(0.7), SA(0.8), SA(0.9), SA(1.0), SA(1.1), SA(1.2),
43+
SA(1.3), SA(1.4), SA(1.5), SA(1.6), SA(1.7), SA(1.8), SA(1.9), SA(2.0),
44+
SA(2.2), SA(2.4), SA(2.6), SA(2.8), SA(3.0), SA(3.2), SA(3.4), SA(3.6),
45+
SA(3.8), SA(4.0), SA(4.5), SA(5.0), SA(5.5), SA(6.0), SA(6.5), SA(7.0),
46+
SA(7.5), SA(8.0), SA(8.5), SA(9.0), SA(9.5), SA(10.0)]
5147

5248

5349
def plot_trellis_util(config, output_directory, obs_data_fname):

0 commit comments

Comments
 (0)