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

int-brain-lab / ibleatools / 33955718461
54%

Build:
DEFAULT BRANCH: main
Ran 05 Sep 2026 08:39AM UTC
Jobs 1
Files 31
Run time 1min
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

05 Sep 2026 08:36AM UTC coverage: 61.176% (+1.0%) from 60.182%
33955718461

push

github

web-flow
Refactor STPC to match Bimbard et al. 2025 methodology (#99)

* Refactor STPC to match Bimbard et al. 2025 methodology

- Add spike_triggered_population_coupling() implementing the correct
  population coupling algorithm per Bimbard, Harris & Carandini 2025:
  - Mean-centred binned firing rates for neighbours
  - Batched FFT cross-correlation (much faster)
  - Configurable lags, binsize, lowpass_hz, radius_um
  - Proper normalisation by spike count (percentage scale)

- Add spike_triggered_population_coupling_df() convenience wrapper for
  the ephys-atlas pipeline with:
  - good_units_only flag to control reported clusters
  - file_stpc caching support
  - df_clusters enrichment with coupling_strength/delay columns

- Refactor get_neighbours_members() to take array inputs and fix
  diagonal handling

- Preserve legacy implementations:
  - get_neighbours_members_legacy()
  - spike_triggered_population_coupling_legacy()
  (both clearly marked as deprecated for comparison only)

- Add comprehensive test coverage (15 new tests)
- Update display_stpc() to work with new Bunch return format

* Rename legacy STPC implementation to windowed variant

The pre-existing spike-triggered-population-coupling implementation is a
distinct windowed/overlapping-correlation estimator worth keeping, not
deprecated code, so rename it from *_legacy to *_windowed and drop the
"do not use" framing accordingly. Add a changelog entry closing #95.

1935 of 3163 relevant lines covered (61.18%)

0.61 hits per line

Coverage Regressions

Lines Coverage ∆ File
101
65.66
12.45% cells.py
Jobs
ID Job ID Ran Files Coverage
1 33955718461.1 05 Sep 2026 08:39AM UTC 31
61.18
GitHub Action Run
Source Files on build 33955718461
  • Tree
  • List 31
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33955718461
  • 9d774e77 on github
  • Prev Build on main (#33394224871)
  • Next Build on main (#33961581189)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc