File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -491,6 +491,7 @@ def local_exceedance_intensity(
491491 min_intensity = None ,
492492 log_frequency = True ,
493493 log_intensity = True ,
494+ n_sig_dig = 2 ,
494495 ):
495496 """Compute local exceedance intensity for given return periods. The default method
496497 is fitting the ordered intensitites per centroid to the corresponding cummulated
@@ -573,6 +574,7 @@ def local_exceedance_intensity(
573574 value_threshold = min_intensity ,
574575 method = method ,
575576 y_asymptotic = 0.0 ,
577+ n_sig_dig = n_sig_dig ,
576578 )
577579 for i_centroid in nonzero_centroids
578580 ]
@@ -620,6 +622,7 @@ def local_return_period(
620622 min_intensity = None ,
621623 log_frequency = True ,
622624 log_intensity = True ,
625+ n_sig_dig = 2 ,
623626 ):
624627 """Compute local return periods for given hazard intensities. The default method
625628 is fitting the ordered intensitites per centroid to the corresponding cummulated
@@ -693,6 +696,7 @@ def local_return_period(
693696 value_threshold = min_intensity ,
694697 method = method ,
695698 y_asymptotic = np .nan ,
699+ n_sig_dig = n_sig_dig ,
696700 )
697701 for i_centroid in range (self .intensity .shape [1 ])
698702 ]
You can’t perform that action at this time.
0 commit comments