Skip to content

Commit

Permalink
Merge branch 'fix/diffusive_concentrations_jlubo' of github.com:boesc…
Browse files Browse the repository at this point in the history
…hf/arbor into fix/diffusive_concentrations_jlubo
  • Loading branch information
boeschf committed Jan 10, 2024
2 parents 6d284bc + 28c642f commit b73ea1a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions python/test/unit/test_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,12 @@ def simulate_and_test_diffusion(
# set probes
prb = [
A.cable_probe_ion_diff_concentration('"soma-start"', "s", "s_pt"),
A.cable_probe_density_state('"soma-start"', "neuron_with_diffusion", "sV", "sV_pt"),
A.cable_probe_density_state_cell("neuron_with_diffusion", "sV", "sV_cell_pt"),
A.cable_probe_density_state(
'"soma-start"', "neuron_with_diffusion", "sV", "sV_pt"
),
A.cable_probe_density_state_cell(
"neuron_with_diffusion", "sV", "sV_cell_pt"
),
]

# ---------------------------------------------------------------------------------------
Expand All @@ -349,8 +353,12 @@ def simulate_and_test_diffusion(

# ---------------------------------------------------------------------------------------
# set handles
hdl_s = sim.sample((0, "s_pt"), A.regular_schedule(self.dt)) # s at "soma-start"
hdl_sV = sim.sample((0, "sV_pt"), A.regular_schedule(self.dt)) # sV at "soma-start"
hdl_s = sim.sample(
(0, "s_pt"), A.regular_schedule(self.dt)
) # s at "soma-start"
hdl_sV = sim.sample(
(0, "sV_pt"), A.regular_schedule(self.dt)
) # sV at "soma-start"
hdl_sV_all = sim.sample(
(0, "sV_cell_pt"), A.regular_schedule(self.dt)
) # sV (cell-wide array)
Expand Down

0 comments on commit b73ea1a

Please sign in to comment.