From a03ec64bc27d115a1d3054340d7c8082346b47f2 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Wed, 11 Dec 2024 15:50:51 -0600 Subject: [PATCH] change docs --- .../combinations/spikeglx_and_phy.rst | 4 ++-- docs/conversion_examples_gallery/recording/spikeglx.rst | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/conversion_examples_gallery/combinations/spikeglx_and_phy.rst b/docs/conversion_examples_gallery/combinations/spikeglx_and_phy.rst index 2c6de07f6..d8eef8844 100644 --- a/docs/conversion_examples_gallery/combinations/spikeglx_and_phy.rst +++ b/docs/conversion_examples_gallery/combinations/spikeglx_and_phy.rst @@ -16,8 +16,8 @@ were are combining a SpikeGLX recording with Phy sorting results using the >>> from neuroconv.datainterfaces import SpikeGLXRecordingInterface, PhySortingInterface >>> >>> # For this interface we need to pass the location of the ``.bin`` file. Change the file_path to the location in your system - >>> file_path = f"{ECEPHY_DATA_PATH}/spikeglx/Noise4Sam_g0/Noise4Sam_g0_imec0/Noise4Sam_g0_t0.imec0.ap.bin" - >>> interface_spikeglx = SpikeGLXRecordingInterface(file_path=file_path, verbose=False) + >>> folder_path = f"{ECEPHY_DATA_PATH}/spikeglx/Noise4Sam_g0/Noise4Sam_g0_imec0" + >>> interface_spikeglx = SpikeGLXRecordingInterface(folder_path=folder_path, stream_id="imec0.ap", verbose=False) >>> >>> folder_path = f"{ECEPHY_DATA_PATH}/phy/phy_example_0" # Change the folder_path to the location of the data in your system >>> interface_phy = PhySortingInterface(folder_path=folder_path, verbose=False) diff --git a/docs/conversion_examples_gallery/recording/spikeglx.rst b/docs/conversion_examples_gallery/recording/spikeglx.rst index 97b23bac9..0bc67fc1d 100644 --- a/docs/conversion_examples_gallery/recording/spikeglx.rst +++ b/docs/conversion_examples_gallery/recording/spikeglx.rst @@ -51,9 +51,10 @@ Defining a 'stream' as a single band on a single NeuroPixels probe, we can conve >>> from neuroconv.datainterfaces import SpikeGLXRecordingInterface >>> >>> # For this interface we need to pass the location of the ``.bin`` file - >>> file_path = f"{ECEPHY_DATA_PATH}/spikeglx/Noise4Sam_g0/Noise4Sam_g0_imec0/Noise4Sam_g0_t0.imec0.ap.bin" - >>> # Change the file_path to the location in your system - >>> interface = SpikeGLXRecordingInterface(file_path=file_path, verbose=False) + >>> folder_path = f"{ECEPHY_DATA_PATH}/spikeglx/Noise4Sam_g0/Noise4Sam_g0_imec0" + >>> # Options for the streams are "imec0.ap", "imec0.lf", "imec1.ap", "imec1.lf", etc. + >>> # Depending on the device and the band of interest, choose the appropriate stream + >>> interface = SpikeGLXRecordingInterface(folder_path=folder_path, stream_id="imec0.ap", verbose=False) >>> >>> # Extract what metadata we can from the source files >>> metadata = interface.get_metadata()