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()