We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e4ed4 commit b3844bcCopy full SHA for b3844bc
code/python/cni_toolbox/IRM.py
@@ -110,7 +110,7 @@ def get_hrf(self):
110
else:
111
hrf = ifft(self.hrf_fft, axis = 0)[0:self.l_hrf]
112
113
- return hrf
+ return np.abs(hrf)
114
115
def get_stimulus(self):
116
'''
@@ -130,7 +130,7 @@ def get_timecourses(self):
130
predicted timecourses
131
132
133
- return ifft(self.tc_fft, axis = 0)[0:self.n_samples, :]
+ return np.abs(ifft(self.tc_fft, axis = 0)[0:self.n_samples, :])
134
135
def set_hrf(self, hrf):
136
0 commit comments