*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit e24699ae authored by Patrick Kappl's avatar Patrick Kappl
Browse files

Change output file infix to prefix

parent bae28318
No related branches found
No related tags found
Loading
......@@ -10,7 +10,7 @@ import sys
# TODO: Rewrite docstring with argument descriptions
def do_jackknife_estimation(input_sample_generator, n_samples,
transformation_function,
output_file_infix=""):
output_file_prefix=""):
"""Do a jackknife estimation for the given samples and function.
Estimate and return the sample mean, variance and standard deviation
......@@ -64,7 +64,7 @@ def do_jackknife_estimation(input_sample_generator, n_samples,
output_standard_deviation = np.lib.scimath.sqrt(output_variance)
# TODO: Make a subroutine for this (maybe requires an OO redesign)
output_file_name = "jackknife_" + output_file_infix + "_" + date_and_time
output_file_name = output_file_prefix + "_" + date_and_time
output_file_name += ".hdf5"
output_file = h5py.File(output_file_name, "w")
output_file.create_group(".config")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment