Skip to content

Commit 6925965

Browse files
mariomario
authored andcommitted
corrected naming n_total->n_voxels
1 parent 266426b commit 6925965

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/python/cni_toolbox/HGR.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ def get_parameters(self, n_batch = 10000,
185185
idx = idx[mask]
186186
n_msk = sum(mask)
187187

188-
results = {'mu_x': np.zeros(self.n_total),
189-
'mu_y': np.zeros(self.n_total),
190-
'sigma': np.zeros(self.n_total)}
188+
results = {'mu_x': np.zeros(self.n_voxels),
189+
'mu_y': np.zeros(self.n_voxels),
190+
'sigma': np.zeros(self.n_voxels)}
191191

192192
xy = np.linspace(-max_radius, max_radius, self.r_stimulus)
193193
[x_coordinates, y_coordinates] = np.meshgrid(xy,xy)

0 commit comments

Comments
 (0)