Browse Source

[readme] fixes and updates

Jan Grewe 2 years ago
parent
commit
6490d0d1be
1 changed files with 17 additions and 17 deletions
  1. 17 17
      README.md

+ 17 - 17
README.md

@@ -2,33 +2,33 @@
 
 This repository contains raw data of neuronal activity in P-type electroreceptors of the electric fish *Apteronotus leptorhynchus*, derived data i.e. analysis results, the python scripts running the analyses, simulations and the plotting.
 
-## ``raw_data``
+## ``raw_data`` folder
 
 This folder contains the raw datasets. Data and metadata are stored in the open [NIX](https://github.com/g-node/nix) container format. To read these data files you need the [``nixio``](https://github.com/g-node/nixpy) python library. For a more comfortable approach use the [``rlxnix``](https://github.com/relacs/relacsed_nix) python package.
 Usually, the files contain the raw membrane potential recording, the detected action potentials, the animal's electric organ discharge (EOD) together with the respective metadata. *Note:* Some datasets are older and have been used in previously analyses. The dataset structure deviates a bit from newer files.
 
-## ``derived_data``
+## ``derived_data`` folder
 
-This folder contains the analysis results. The contained files will be overwritten when re-running the analysis script. *csv-*files are written with ``pandas`` using the semicolon as delimiter to read them use ``df = pd.read_csv(filename, sep=";", index_col=0)``.
-*npz-*files are compressed ``numpy`` files.
+This folder contains the analysis results. The contained files will be overwritten when re-running the analysis scripts. *csv-files are written with ``pandas`` using the semicolon as delimiter. To read them use something like the following pattern ``df = pd.read_csv(filename, sep=";", index_col=0)``.
+*npz-files are compressed ``numpy`` files.
 
-## ``stimuli``
+## ``stimuli`` folder
 
 Contains a single file, which is the white noise stimulus waveform.
 
-## ``file_lists``
+## ``file_lists`` folder
 
-Two simple text files: 
+Two simple text files that are used by the analysis scripts: 
 1. listing the datasets in which the receptive field was measured, and from which we extract the baseline response properties.
 2. The datasets in which white-noise responses were measured.
 
-## ``figures``
+## ``figures`` folder
 
-Contains some png files which will be embedded into the final figures. The folder is the default output folder for created figures.
+Contains some png-files which will be embedded into the final figures. The folder is the default output folder for created figures.
 
 ## ``code`` package
 
-Three sub-packages:
+python files performing the analyses, simulations and plotting. Three sub-packages:
 
 1. ``analyses``: The data analysis scripts working on the raw data
 2. ``plots``: Plotting scripts
@@ -36,22 +36,22 @@ Three sub-packages:
 
 ## Scripts
 
-To run the analyses, simulations, or plot the figures, you can use one of the three scripts"
+To run the analyses, simulations, or plot the figures, you can use one of the three scripts
 
-1. ``run_analyses.py`` command line tool for running the all data analyses. (**Note!** analysis of the heterogeneous populations will take a while)
-2. ``run_simulations.py`` command line tool to run the LIF simulations. (**Note!** This will take a while)
+1. ``run_analyses.py`` command line tool for running all data analyses. (**Note: analysis of the heterogeneous populations will take a while!**)
+2. ``run_simulations.py`` command line tool to run the LIF simulations. (**Note: This will take a while!**)
 3. ``plot_figures.py`` command line script that allows to plot the figures of the publication.
 
-The first two have only a single argument which is the number of parallel processes that should be spawned for the respective task. E.g.
+The first two take only a single optional argument which is the number of parallel processes that should be spawned for the respective task. E.g.
 ```
 python3 run_simulations.py --help  # to show the help text
 python3 run_simulations.py -j 12  # run the simulations using 12 parallel processes
 ```
 
-The plot tool takes that defines which sub command (i.e. figure) will be run. Each of these take a few more arguments that allow to select which figure should be plotted.
+The plot tool expects as a first argument the sub command (i.e. figure) that will be run. Each of these sub-commands define a few more arguments. Using the default arguments should work.
 
 ```
-python3 plot_figures.py --help  # to show list of all subcommands
+python3 plot_figures.py --help  # to list all available subcommands
 ```
 
 For example:
@@ -71,7 +71,7 @@ The scripts depend on the following packages (installed version):
 * pandas (1.1.0)
 * scipy (1.7.0)
 * nixio (1.5.2)
-* rlxnix (0.6.10)
+* rlxnix (0.6.10, for [installation options see](https://github.com/relacs/relacsed_nix))
 * joblib (0.16.0)
 * sklearn (0.23.1)
 * matplotlib (3.4.2)