BlueBrain / BlueCelluLab

Biologically detailed neural network simulations and analysis API
https://bluecellulab.readthedocs.io/en/latest/
Other
8 stars 12 forks source link

Address multiple neuron references pointing to same recording #152

Open anilbey opened 3 months ago

anilbey commented 3 months ago

self.soma(0.5)._ref_v': Vector[2551] is same as neuron.h.cADpyr_L2TPC_bluecellulab_0x7f77e58f8a10[0].soma[0](0.5)._ref_v

(Pdb) self.cell.recordings
{'self.soma(0.5)._ref_v': Vector[2551], 'neuron.h._ref_t': Vector[2552], 'neuron.h.cADpyr_L2TPC_bluecellulab_0x7f77e58f8a10[0].soma[0](0.5)._ref_v': Vector[2553]}

Components to be affected: core.py test_core.py

Restrict the use of add_recordings instead use add_voltage_recording that takes the NEURON object as argument instead of recording str.