ECP module not recording consistently
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start with the ECP configurations in the issue and the Python h5py comparison of ecp_pv1.h5 and ecp_pv2.h5. Reproduce the two recordings using identical settings, then inspect the ECP recording path and determine why repeated recordings differ; done means the inconsistency is explained and the repeated outputs behave consistently.
Written by the indexing model from the issue text.
Description
I am recording a biophysical model's ECP using the ECP module
"reports": {
"ecp1": {
"cells": {"pop_name": "PV"},
"variable_name": "v",
"module": "extracellular",
"tmp_dir": "$OUTPUT_DIR",
"electrode_positions": "$COMPONENTS_DIR/recXelectrodes/linear_electrode.csv",
"file_name": "ecp_pv1.h5",
"electrode_channels": "all",
"contributions_dir": "ecp_pv1"
},
"ecp2": {
"cells": {"pop_name": "PV"},
"variable_name": "v",
"module": "extracellular",
"tmp_dir": "$OUTPUT_DIR",
"electrode_positions": "$COMPONENTS_DIR/recXelectrodes/linear_electrode.csv",
"file_name": "ecp_pv2.h5",
"electrode_channels": "all",
"contributions_dir": "ecp_pv2"
},
"ecp3": {
"cells": "all",
"variable_name": "v",
"module": "extracellular",
"tmp_dir": "$OUTPUT_DIR",
"electrode_positions": "$COMPONENTS_DIR/recXelectrodes/linear_electrode.csv",
"file_name": "ecp_all1.h5",
"electrode_channels": "all",
"contributions_dir": "ecp_all1"
},
"ecp4": {
"cells": "all",
"variable_name": "v",
"module": "extracellular",
"tmp_dir": "$OUTPUT_DIR",
"electrode_positions": "$COMPONENTS_DIR/recXelectrodes/linear_electrode.csv",
"file_name": "ecp_all2.h5",
"electrode_channels": "all",
"contributions_dir": "ecp_all2"
}
},
Then when I compare either the two ECPs that recorded only PV cells or the two ECPs that recorded all cells the signal is different. The signal looks largely the same but once closes examined it's clear that it is different. To analysis the output I did
import h5py
import matplotlib.pyplot as plt
%matplotlib inline
path1 = "outputECP1/ecp_pv1.h5"
path2 = "outputECP1/ecp_pv2.h5"
f1 = h5py.File(path1)
f2 = h5py.File(path2)
fig, ax = plt.subplots(2,1,figsize=(15,4.8))
ax[0].plot(f1["ecp/data"][:])
ax[0].title.set_text("PV recording 1")
ax[0].set_xlim(4000,5000)
ax[1].plot(f2["ecp/data"][:])
ax[1].title.set_text("PV recording 2")
ax[1].set_xlim(4000,5000)
plt.show()
The result was
You can see that the signals are different when they recorded the same thing.
- Dominant language
- Python
- Stars
- 339
- Forks
- 103
- Avg merge
- 2h 7m
- Merged PRs (30d)
- 14
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AllenInstitute/bmtk
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AllenInstitute/bmtk#468 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
AllenInstitute/bmtk#337 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
AllenInstitute/bmtk#326 ·
Maintainers usually reply within 1 day
-
tau_syn_basis and weight coefficients for TF synapsesMay be free again @shixnya claimed this 132 days ago, and no pull request is open. Open
AllenInstitute/bmtk#463 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
AllenInstitute/bmtk#457 ·
Maintainers usually reply within 1 day
All issues in AllenInstitute/bmtk
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
unionai-oss/pandera#2640 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JdeRobot/RoboticsInfrastructure#843 ·
Maintainers usually reply within 1 day
-
automated endpoint-dead needs-curation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
almanac-data/climate-almanac#122 ·
Maintainers usually reply within 1 day
-
area:harness enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
evarness-ai/iris-harness#420 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
suitenumerique/find#206 ·
Maintainers usually reply within 2 days