Skip to content

Commit

Permalink
Update scaleopt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukankaratas authored May 26, 2022
1 parent c531b9b commit 17a4c1c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scaleopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
from scipy.interpolate import interp1d

def targetSpectrum(Ss, S1, soil):
"""
Args:
Ss: Spectral Acceleration Parameter at Short Periods
S1: Spectral Acceleration Parameter at 1-sec
soil: Soil Type
"""

Ss_range = [0.25 , 0.50 , 0.75, 1.00 , 1.25 , 1.50 ]
FS_table = {"ZA": [0.8 , 0.8 , 0.8 , 0.8 , 0.8 , 0.8],
Expand Down Expand Up @@ -826,4 +832,4 @@ def rotD100_func(ax, ay):
print( f"RSN{rsn} | { list( temp_df.EarthquakeName )[0] } | { sf_dict[ rsn ]}")
print( "-"*50)

return(sf_dict)
return(sf_dict)

0 comments on commit 17a4c1c

Please sign in to comment.