From d5bc1bf0830c6c6ab7b0c11d45287f7c973a5708 Mon Sep 17 00:00:00 2001 From: Johannes Keyser <johannes.keyser@sport.uni-giessen.de> Date: Tue, 2 Feb 2021 16:31:16 +0100 Subject: [PATCH] move example stuff into its own folder --- .../example_analyis_script.ipynb | 6 ++---- example_data.hdf => example/example_data.hdf | 0 {plots => example/plots}/plot_example_cumsum.png | 0 {plots => example/plots}/plot_example_histogram.png | 0 {plots => example/plots}/plot_example_trace.png | 0 5 files changed, 2 insertions(+), 4 deletions(-) rename example_analyis_script.ipynb => example/example_analyis_script.ipynb (99%) rename example_data.hdf => example/example_data.hdf (100%) rename {plots => example/plots}/plot_example_cumsum.png (100%) rename {plots => example/plots}/plot_example_histogram.png (100%) rename {plots => example/plots}/plot_example_trace.png (100%) diff --git a/example_analyis_script.ipynb b/example/example_analyis_script.ipynb similarity index 99% rename from example_analyis_script.ipynb rename to example/example_analyis_script.ipynb index 1a8829a..9a63b2e 100644 --- a/example_analyis_script.ipynb +++ b/example/example_analyis_script.ipynb @@ -37,7 +37,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "id": "superb-climb", "metadata": {}, "outputs": [ @@ -135,9 +135,7 @@ "\n", "# Save the samples in a HDF-5 file.\n", "with h5py.File(DATA_FILE, 'w') as file_handle:\n", - " file_handle.create_dataset('stdnormal', data=rand_normal_samples)\n", - "\n", - "print('Wrote data into file \"%s\".' % DATA_FILE)" + " file_handle.create_dataset('stdnormal', data=rand_normal_samples)" ] } ], diff --git a/example_data.hdf b/example/example_data.hdf similarity index 100% rename from example_data.hdf rename to example/example_data.hdf diff --git a/plots/plot_example_cumsum.png b/example/plots/plot_example_cumsum.png similarity index 100% rename from plots/plot_example_cumsum.png rename to example/plots/plot_example_cumsum.png diff --git a/plots/plot_example_histogram.png b/example/plots/plot_example_histogram.png similarity index 100% rename from plots/plot_example_histogram.png rename to example/plots/plot_example_histogram.png diff --git a/plots/plot_example_trace.png b/example/plots/plot_example_trace.png similarity index 100% rename from plots/plot_example_trace.png rename to example/plots/plot_example_trace.png -- GitLab