Skip to content

Support absolute mean for SONATA noise current clamp#56

Merged
ilkilic merged 7 commits intomainfrom
relative-noise
Feb 12, 2026
Merged

Support absolute mean for SONATA noise current clamp#56
ilkilic merged 7 commits intomainfrom
relative-noise

Conversation

@ilkilic
Copy link
Collaborator

@ilkilic ilkilic commented Jan 29, 2026

Fix #54. Implements support for SONATA noise stimuli defined with mean (nA) in addition to mean_percent.

@ilkilic ilkilic self-assigned this Jan 29, 2026
@ilkilic ilkilic requested a review from darshanmandge January 29, 2026 15:31
@codecov
Copy link

codecov bot commented Jan 29, 2026

Codecov Report

❌ Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
bluecellulab/cell/injector.py 60.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
...ecellulab/stimulus/circuit_stimulus_definitions.py 77.82% <100.00%> (+0.96%) ⬆️
tests/test_circuit/test_simulation_config.py 100.00% <100.00%> (ø)
...test_stimulus/test_circuit_stimulus_definitions.py 100.00% <100.00%> (ø)
bluecellulab/cell/injector.py 94.80% <60.00%> (-0.81%) ⬇️

... and 10 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@darshanmandge darshanmandge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ilkilic.

I see in the documentation there is represents_physical_electrode. Maybe good to have it implemented if it possible. Also, does it exist for other stimuli?

@ilkilic
Copy link
Collaborator Author

ilkilic commented Jan 29, 2026

We don't support represents_physical_electrode for any stimuli.

@ilkilic
Copy link
Collaborator Author

ilkilic commented Feb 10, 2026

@darshanmandge Can we merge this fix first?

@darshanmandge
Copy link
Collaborator

Did you compare the responses of these new stimuli with those from neurodamus?

@ilkilic
Copy link
Collaborator Author

ilkilic commented Feb 10, 2026

This is not a new stimulus and the underlying implementation hasn’t changed. The update only adds support for the SONATA absolute variant.

@darshanmandge
Copy link
Collaborator

This is not a new stimulus and the underlying implementation hasn’t changed. The update only adds support for the SONATA absolute variant.

I meant: if the soma and spike reports generated by this implementation in bluecellulab match those from neurodamus for the same stimuli applied?

@ilkilic
Copy link
Collaborator Author

ilkilic commented Feb 12, 2026

We cannot properly compared with Neurodamus yet until this issue is solved

Copy link
Collaborator

@darshanmandge darshanmandge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. Let's merge. Once you solve the related issue you can come back and check all the SONATA stimuli including these ones.

@ilkilic ilkilic merged commit dcdb0e5 into main Feb 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support absolute mean noise stimuli (mean in nA) for SONATA current_clamp noise

2 participants