From 74135bbf877ae3d6af593b81c4f1a90cade11130 Mon Sep 17 00:00:00 2001 From: pauladkisson Date: Tue, 28 May 2024 13:59:57 -0700 Subject: [PATCH] added commanded voltage descriptions --- frozen_dependencies.txt | 4 ++-- .../seiler_2024/seiler_2024fiberphotometryinterface.py | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/frozen_dependencies.txt b/frozen_dependencies.txt index 4839da8..54c5faf 100644 --- a/frozen_dependencies.txt +++ b/frozen_dependencies.txt @@ -88,7 +88,7 @@ more-itertools==10.2.0 multidict==6.0.4 natsort==8.4.0 ndx-events==0.2.0 -ndx-fiber-photometry @ git+https://github.com/catalystneuro/ndx-fiber-photometry.git@14e05cda86026db694c1c577918284f435b7ec10 +ndx-fiber-photometry @ git+https://github.com/catalystneuro/ndx-fiber-photometry.git@94d80c2996cf3c71bd7e6f2b2c83f9b3fb9906ff ndx-grayscalevolume==0.0.2 ndx-icephys-meta==0.1.0 ndx-photometry @ git+https://github.com/catalystneuro/ndx-photometry.git@c1284c91a7e0a5dfd19f84bbf683e17fa607d4ec @@ -99,7 +99,7 @@ neuroconv @ git+https://github.com/catalystneuro/neuroconv.git@f45e77e1523699164 nodeenv==1.8.0 numcodecs==0.11.0 numpy==1.26.3 -nwbinspector==0.4.35 +-e git+https://github.com/catalystneuro/nwbinspector.git@1f88732833709fc194ec46ebb82b0427137a2825#egg=nwbinspector nwbwidgets==0.11.3 openpyxl==3.1.2 packaging==23.2 diff --git a/src/lerner_lab_to_nwb/seiler_2024/seiler_2024fiberphotometryinterface.py b/src/lerner_lab_to_nwb/seiler_2024/seiler_2024fiberphotometryinterface.py index 8dcad61..fc8b631 100644 --- a/src/lerner_lab_to_nwb/seiler_2024/seiler_2024fiberphotometryinterface.py +++ b/src/lerner_lab_to_nwb/seiler_2024/seiler_2024fiberphotometryinterface.py @@ -182,6 +182,7 @@ def add_to_nwbfile( if has_demodulated_commanded_voltages: commanded_voltage_series_dms_calcium_signal = CommandedVoltageSeries( name="commanded_voltage_series_dms_calcium_signal", + description="The commanded voltage for the DMS calcium signal.", data=H5DataIO(tdt_photometry.streams["Fi1d"].data[0, :], compression=True), unit="volts", frequency=211.0, @@ -190,6 +191,7 @@ def add_to_nwbfile( ) commanded_voltage_series_dms_isosbestic_control = CommandedVoltageSeries( name="commanded_voltage_series_dms_isosbestic_control", + description="The commanded voltage for the DMS isosbestic control.", data=H5DataIO(tdt_photometry.streams["Fi1d"].data[1, :], compression=True), unit="volts", frequency=330.0, @@ -198,6 +200,7 @@ def add_to_nwbfile( ) commanded_voltage_series_dls_calcium_signal = CommandedVoltageSeries( name="commanded_voltage_series_dls_calcium_signal", + description="The commanded voltage for the DLS calcium signal.", data=H5DataIO(tdt_photometry.streams["Fi1d"].data[3, :], compression=True), unit="volts", frequency=450.0, @@ -206,6 +209,7 @@ def add_to_nwbfile( ) commanded_voltage_series_dls_isosbestic_control = CommandedVoltageSeries( name="commanded_voltage_series_dls_isosbestic_control", + description="The commanded voltage for the DLS isosbestic control.", data=H5DataIO(tdt_photometry.streams["Fi1d"].data[2, :], compression=True), unit="volts", frequency=270.0, @@ -215,6 +219,7 @@ def add_to_nwbfile( else: commanded_voltage_series_dms = CommandedVoltageSeries( name="commanded_voltage_series_dms", + description="The commanded voltage for the frequency-modulated DMS calcium signal and DMS isosbestic control.", data=H5DataIO(tdt_photometry.streams["Fi1r"].data[0, :], compression=True), unit="volts", starting_time=0.0, @@ -222,6 +227,7 @@ def add_to_nwbfile( ) commanded_voltage_series_dls = CommandedVoltageSeries( name="commanded_voltage_series_dls", + description="The commanded voltage for the frequency-modulated DLS calcium signal and DLS isosbestic control.", data=H5DataIO(tdt_photometry.streams["Fi1r"].data[1, :], compression=True), unit="volts", starting_time=0.0,