New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extracellular times-recording unnecessary #428
Comments
Sounds good to me. Idk why we need redundant copies of |
agree there should only be one "master" times. Not sure if the initial state should be included? I think having |
0.2 milestone @cjayb ? |
Yeah this seems like the easiest approach that's still convenient (plotting). I hesitate because it causes an unnecessary copy, but
True, especially since our initial state is somewhat poorly defined.
I have a suspicion this might balloon a bit, possibly interact with the pending discussion on initial 'transients' etc. Let's leave this Issue open for now and see what that other topic churns up? |
sounds good, seems a bit independent of the 'transients' conversation to me but I let you decide |
Can I work on this issue @cjayb @jasmainak @rythorpe ? |
Hey Raj, I'm afraid I'm quite useless here as I haven't looked at the code since last year :( I don't know the relevance of this Issue, but it is labeled as a good first issue, @jasmainak @rythorpe ? |
One issue at a time @raj1701 ... let's first see your other PRs merged |
The fix in #427 also includes a removal of the arbitrary one-sample-mismatch between the length of the potential and dipole traces. The latter are one short because
extra_scatter_gather
is only called after a solver step. The solution was to set the initial state to 0 mV (which I suppose is debatable).Presently
_ExtracellularArrayBuilder
creates an independent copy ofh.t
for every array attached to the network:This is redundant, since
h._ref_t
is already recorded innetwork_builder.py:_simulate_single_trial()
. One simple solution is to letarr._times = sim_data[0]['times']
in the below (parallel_backends.py:_gather_trial_data()
)Do I get a +1 for this? And in the bigger picture, do we want keep having
times
embedded in each of the various output objects we create (dpl
,rec_arr
,CellResponse
)?The text was updated successfully, but these errors were encountered: