Skip to content

Commit 2a89d6f

Browse files
Merge pull request #133 from neurochilds/main
Fix bug where sigma_r was incorrectly set to sigma_angles instead of sigma_distances.
2 parents 92775c7 + cb1089d commit 2a89d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ratinabox/Neurons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ def bvc_rf(theta, r, mu_r=0.5, sigma_r=0.2, mu_theta=0.5, sigma_theta=0.1):
18261826

18271827
for i, n in enumerate(chosen_neurons):
18281828
mu_r = self.tuning_distances[n]
1829-
sigma_r = self.sigma_angles[n]
1829+
sigma_r = self.sigma_distances[n]
18301830
mu_theta = self.tuning_angles[n]
18311831
sigma_theta = self.sigma_angles[n]
18321832
receptive_field = bvc_rf(

0 commit comments

Comments
 (0)