Skip to content

Commit

Permalink
turn off console output in py examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jdherman committed Jan 29, 2015
1 parent 0f88bc5 commit c475a57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/delta/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
# Perform the sensitivity analysis using the model output
# Specify which column of the output file to analyze (zero-indexed)
Si = delta.analyze(param_file, 'model_input.txt', 'model_output.txt',
column=0, num_resamples=10, conf_level=0.95, print_to_console=True)
column=0, num_resamples=10, conf_level=0.95, print_to_console=False)
# Returns a dictionary with keys 'delta', 'delta_conf', 'S1', 'S1_conf'
print(str(Si['delta']))
2 changes: 1 addition & 1 deletion examples/dgsm/dgsm.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Perform the sensitivity analysis using the model output
# Specify which column of the output file to analyze (zero-indexed)
Si = dgsm.analyze(param_file, 'model_input.txt', 'model_output.txt',
column=0, conf_level=0.95, print_to_console=True)
column=0, conf_level=0.95, print_to_console=False)
# Returns a dictionary with keys 'vi', 'vi_std', 'dgsm', and 'dgsm_conf'
# e.g. Si['vi'] contains the sensitivity measure for each parameter, in
# the same order as the parameter file
Expand Down
2 changes: 1 addition & 1 deletion examples/fast/fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Perform the sensitivity analysis using the model output
# Specify which column of the output file to analyze (zero-indexed)
Si = fast.analyze(
param_file, 'model_output.txt', column=0, print_to_console=True)
param_file, 'model_output.txt', column=0, print_to_console=False)
# Returns a dictionary with keys 'S1' and 'ST'
# e.g. Si['S1'] contains the first-order index for each parameter, in the
# same order as the parameter file

0 comments on commit c475a57

Please sign in to comment.