• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openbraininstitute / neurodamus / 26640253248 / 2 – unit-mpi
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 29 May 2026 01:41PM UTC
Files 50
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 May 2026 01:32PM UTC coverage: 62.239% (+0.02%) from 62.221%
unit-mpi – 26640253248.2

push

github

web-flow
Combine multiple extracellular electric field stimulus blocks (#532)

## Context
Part 2 for
https://github.com/openbraininstitute/prod-circuit-simulation/issues/172,
combine multiple SpatiallyUniformEField stimulus blocks amd add electric
fields into the EFieldIntegrator mechanism.

## Scope
1. In `stimuli.py`, each cell has an object `ElectrodeSource` which
contains a list of EFields which are parsed per SpatiallyUniformEField
stimulus.
2. In case of mulitple SpatiallyUniformEField stimulus blocks, for every
overlapping cell, its `ElectrodeSource` 's efields list is extended with
the efields from the new block thanks to the singleton design pattern.
3. After looping over the stimulus blocks, call each cell's
`ElectrodeSource.apply_segment_potentialsply` that creates a
`EFieldIntegrator` mod object with the list of EFields
4. Refactor `efield_integrator.mod` to take a list of e-fields, and loop
over the e-fields during `BEFORE BREAKPOINT` process.

## Testing
1. Include `tests/unit/test_multiple_extracellular_stimuli.py`
2. Refactor and compute references for tests regarding extracellular
stimulus, fixes #523

---------

Co-authored-by: Alessandro Cattabiani <cattabiani@users.noreply.github.com>

5314 of 8538 relevant lines covered (62.24%)

0.62 hits per line

Source Files on job unit-mpi - 26640253248.2
  • Tree
  • List 50
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26640253248
  • 1c1b615a on github
  • Prev Job for on main (#26444860913.1)
  • Next Job for on main (#26745527384.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc