Closed colleenjg closed 6 months ago
Nice, thank you! Can I just double check...does this work if the min_fr != 0 (i.e if the scaling isn't just multiplicative).
Yes! I tested it on a variety of combinations, and they all come out correctly (unless the user incorrectly sets min_fr
> max_fr
, which explodes the values with or without the PR change).
MIN_FR = 8; MAX_FR = 10
=> 8.0000 to 10.0175
MIN_FR = 0.1; MAX_FR = 125
=> 0.1 to 126.0953
looks good, just merged! 🙏🏼
Fixes #108.
Added a line when
self.cell_fr_norm
is initialized in the BVCs to unscale it usingself.min_fr
andself.max_fr
.BVCs now generate firingrates spanning the full range expected with
min_fr
andmax_fr
.Note: The small overshoot above
max_fr
mentioned in the issue is not addressed here.