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 3ea7901 commit ca72309Copy full SHA for ca72309
doc/examples/resting_state_fmri.py
@@ -31,7 +31,6 @@
31
#Import from other libraries:
32
import numpy as np
33
import matplotlib.pyplot as plt
34
-from matplotlib.mlab import csv2rec
35
36
import nitime
37
#Import the time-series objects:
@@ -49,14 +48,12 @@
49
48
50
"""
51
52
-We use csv2rec to read the data in from file to a recarray:
+We use Numpy to read the data in from file to a recarray:
53
54
55
56
data_path = os.path.join(nitime.__path__[0], 'data')
57
58
-data_rec = csv2rec(os.path.join(data_path, 'fmri_timeseries.csv'))
59
-
60
data_rec = np.genfromtxt(os.path.join(data_path, 'fmri_timeseries.csv'),
61
names=True, delimiter=',')
62
0 commit comments