File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def _read_mff_events(filename, sfreq):
6868 marker = {
6969 "name" : event ["code" ],
7070 "start" : start ,
71- "start_sample" : int (np .fix (start * sfreq )),
71+ "start_sample" : int (np .trunc (start * sfreq )),
7272 "end" : start + float (event ["duration" ]) / 1e9 ,
7373 "chan" : None ,
7474 }
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ def infomax(
247247 oldsigns = signs
248248
249249 if signcount >= signcount_threshold :
250- ext_blocks = np .fix (ext_blocks * signcount_step )
250+ ext_blocks = np .trunc (ext_blocks * signcount_step )
251251 signcount = 0
252252
253253 # here we continue after the for loop over the ICA training blocks
Original file line number Diff line number Diff line change @@ -1926,7 +1926,7 @@ def _setup_ax_spines(
19261926
19271927 def log_fix (tval ):
19281928 exp = np .log10 (np .abs (tval ))
1929- return np .sign (tval ) * 10 ** (np .fix (exp ) - (exp < 0 ))
1929+ return np .sign (tval ) * 10 ** (np .trunc (exp ) - (exp < 0 ))
19301930
19311931 xlims = np .array ([xmin , xmax ])
19321932 temp_ticks = log_fix (xlims )
You can’t perform that action at this time.
0 commit comments