Skip to content

Commit

Permalink
better name
Browse files Browse the repository at this point in the history
  • Loading branch information
gareth authored and gareth committed May 18, 2021
1 parent 4dac411 commit c59be3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ptha_access/get_PTHA_results.R
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ randomly_sample_scenarios_by_Mw_and_rate<-function(
#' get standard error). Otherwise, return a data.frame containing that
#' information for each individual magnitude bin.
#'
get_exrate_uncertainty_at_stage<-function(random_scenarios, event_peak_stage, threshold_stage,
estimate_exrate_uncertainty<-function(random_scenarios, event_peak_stage, threshold_stage,
importance_sampling_type = 'basic', return_per_Mw_bin=FALSE){

unique_Mw = unique(round(random_scenarios$mw, 3))
Expand Down
2 changes: 1 addition & 1 deletion ptha_access/test_all.R
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ test_random_scenario_sampling<-function(){
for(rsn in names(random_scenarios)){
for(ist in importance_sampling_types){

exrate_uncertainty[[rsn]][[ist]] = ptha18$get_exrate_uncertainty_at_stage(
exrate_uncertainty[[rsn]][[ist]] = ptha18$estimate_exrate_uncertainty(
random_scenarios[[rsn]], event_peak_stage, threshold_stage,
importance_sampling_type=ist, return_per_Mw_bin=TRUE)
}
Expand Down

0 comments on commit c59be3b

Please sign in to comment.