From efb50525456e95f39482230f77824de58313713c Mon Sep 17 00:00:00 2001 From: Garrett Michael Flynn Date: Wed, 3 Apr 2024 11:24:15 -0700 Subject: [PATCH] Updates based on Ryan's feedback --- docs/tutorials/dataset.rst | 2 +- docs/tutorials/single_session.rst | 8 ++++---- pyflask/manageNeuroconv/manage_neuroconv.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/tutorials/dataset.rst b/docs/tutorials/dataset.rst index c0b2aca0a..6021a05ce 100644 --- a/docs/tutorials/dataset.rst +++ b/docs/tutorials/dataset.rst @@ -17,7 +17,7 @@ Navigate to the **Settings** page using the main sidebar. Then press the **Gener Press the Generate button on the Settings page to create the dataset. -The generated data will populate in the `~/NWB_GUIDE/test_data` directory and include a `data` folder with the original data as well as a `dataset` folder that duplicates this `data` across multiple subjects and sessions. +The generated data will populate in the ``~/NWB_GUIDE/test_data`` directory and include a `data` folder with the original data as well as a `dataset` folder that duplicates this `data` across multiple subjects and sessions. .. code-block:: bash diff --git a/docs/tutorials/single_session.rst b/docs/tutorials/single_session.rst index 6f1ba5744..3746ad8fa 100644 --- a/docs/tutorials/single_session.rst +++ b/docs/tutorials/single_session.rst @@ -3,7 +3,7 @@ Converting a Single Session As a researcher, you’ve just completed an experimental session and you’d like to convert your data to NWB right away. -Upon launching the GUIDE, you'll begin on the Conversions page. If you’re opening the application for the first time, there should be no pipelines listed on this page. +Upon launching the GUIDE, you'll begin on the Convert page. If you’re opening the application for the first time, there should be no pipelines listed on this page. .. figure:: ../assets/tutorials/home-page.png :align: center @@ -59,7 +59,7 @@ Next, you’ll specify the data formats you’re working with on the Data Format :align: center :alt: Date Formats page -The tutorial we're working with uses the SpikeGLX and Phy formats, a common output for NeuroPixel recordings and subsequent spike sorting. To specify that your pipeline will handle these files, you’ll press the “Add Format” button. +The tutorial we're working with uses the SpikeGLX and Phy formats, a common output for Neuropixels recordings and subsequent spike sorting. To specify that your pipeline will handle these files, you’ll press the “Add Format” button. .. figure:: ../assets/tutorials/single/format-options.png :align: center @@ -92,7 +92,7 @@ Source Data Information ^^^^^^^^^^^^^^^^^^^^^^^ On this page, specify the relevant **.bin** (Spikeglx) file and **phy** folder so that the GUIDE can find this source data to complete the conversion. -As discussed in the :doc:`Dataset Generation ` tutorial, these can be found in the `~/NWB_GUIDE/test-data/data` directory. +As discussed in the :doc:`Dataset Generation ` tutorial, these can be found in the ``~/NWB_GUIDE/test-data/data`` directory. You can either click the file selector to navigate to the file or drag-and-drop into the GUIDE from your file navigator. @@ -112,7 +112,7 @@ The Session Start Time in the General Metadata section is already specified beca :alt: Metadata page with invalid Subject information -However, we still need to add the Subject information—as noted by the red accents around that item. Let’s say that our subject is a male mouse with an age of P30D. +However, we still need to add the Subject information—as noted by the red accents around that item. Let’s say that our subject is a male mouse with an age of P30D, which represents 30 days old. .. figure:: ../assets/tutorials/single/metadata-subject-complete.png :align: center diff --git a/pyflask/manageNeuroconv/manage_neuroconv.py b/pyflask/manageNeuroconv/manage_neuroconv.py index 500382e4c..9f6fb3e94 100644 --- a/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/pyflask/manageNeuroconv/manage_neuroconv.py @@ -1062,7 +1062,7 @@ def generate_test_data(output_path: str): spikeglx_output_folder = base_path / "spikeglx" phy_output_folder = base_path / "phy" - # Define NeuroPixel-like values for sampling rates and conversion factors + # Define Neuropixels-like values for sampling rates and conversion factors duration_in_s = 3.0 number_of_units = 50 number_of_channels = 385 # Have to include 'sync' channel to be proper SpikeGLX. TODO: artificiate sync pulses