Skip to content

Commit

Permalink
added commanded voltage descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
pauladkisson committed May 28, 2024
1 parent 4bdb25f commit 74135bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frozen_dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -215,13 +219,15 @@ 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,
rate=tdt_photometry.streams["Fi1r"].fs,
)
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,
Expand Down

0 comments on commit 74135bb

Please sign in to comment.