BlueBrain / BluePyOpt

Blue Brain Python Optimisation Library
https://bluepyopt.readthedocs.io/en/latest/
Other
198 stars 96 forks source link

New scaler: NrnSegmentSomaDistanceStepScaler #484

Closed AurelienJaquier closed 7 months ago

AurelienJaquier commented 7 months ago

Add a new scaler that can handle step functions. Useful to do a calcium hotspot. Can also be hoc exportable with this kind of distribution: {"fun": "{value} * (0.1 + 0.9 * int(({distance} > {step_begin}) & ({distance} < {step_end})))"}

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f56a38f) 87.31% compared to head (37162af) 87.37%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #484 +/- ## ========================================== + Coverage 87.31% 87.37% +0.05% ========================================== Files 50 50 Lines 4329 4347 +18 ========================================== + Hits 3780 3798 +18 Misses 549 549 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.