<div dir="ltr"><div>Dear Jean-Remi,<br><br><br>Below is information you asked for.<br></div>MEG channels are 0 to 305.<br><div><div><br>Elena<br><br>######################<br>raw._data.shape<br>(336, 247500)<br><br>reject<br> {'grad': 2.5e-10, 'mag': 6e-12}<br><br>picks<br>array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,<br> 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,<br> 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,<br> 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,<br> 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,<br> 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77,<br> 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,<br> 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103,<br> 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,<br> 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129,<br> 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142,<br> 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155,<br> 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168,<br> 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181,<br> 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,<br> 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207,<br> 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220,<br> 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233,<br> 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246,<br> 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259,<br> 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272,<br> 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285,<br> 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298,<br> 299, 300, 301, 302, 303, 304, 305])<br><br>raw.ch_names<br>Out[94]: <br>[u'MEG0113',<br> u'MEG0112',<br> u'MEG0111',<br> u'MEG0122',<br> u'MEG0123',<br> u'MEG0121',<br> u'MEG0132',<br> u'MEG0133',<br> u'MEG0131',<br> u'MEG0143',<br> u'MEG0142',<br> u'MEG0141',<br> u'MEG0213',<br> u'MEG0212',<br> u'MEG0211',<br> u'MEG0222',<br> u'MEG0223',<br> u'MEG0221',<br> u'MEG0232',<br> u'MEG0233',<br> u'MEG0231',<br> u'MEG0243',<br> u'MEG0242',<br> u'MEG0241',<br> u'MEG0313',<br> u'MEG0312',<br> u'MEG0311',<br> u'MEG0322',<br> u'MEG0323',<br> u'MEG0321',<br> u'MEG0333',<br> u'MEG0332',<br> u'MEG0331',<br> u'MEG0343',<br> u'MEG0342',<br> u'MEG0341',<br> u'MEG0413',<br> u'MEG0412',<br> u'MEG0411',<br> u'MEG0422',<br> u'MEG0423',<br> u'MEG0421',<br> u'MEG0432',<br> u'MEG0433',<br> u'MEG0431',<br> u'MEG0443',<br> u'MEG0442',<br> u'MEG0441',<br> u'MEG0513',<br> u'MEG0512',<br> u'MEG0511',<br> u'MEG0523',<br> u'MEG0522',<br> u'MEG0521',<br> u'MEG0532',<br> u'MEG0533',<br> u'MEG0531',<br> u'MEG0542',<br> u'MEG0543',<br> u'MEG0541',<br> u'MEG0613',<br> u'MEG0612',<br> u'MEG0611',<br> u'MEG0622',<br> u'MEG0623',<br> u'MEG0621',<br> u'MEG0633',<br> u'MEG0632',<br> u'MEG0631',<br> u'MEG0642',<br> u'MEG0643',<br> u'MEG0641',<br> u'MEG0713',<br> u'MEG0712',<br> u'MEG0711',<br> u'MEG0723',<br> u'MEG0722',<br> u'MEG0721',<br> u'MEG0733',<br> u'MEG0732',<br> u'MEG0731',<br> u'MEG0743',<br> u'MEG0742',<br> u'MEG0741',<br> u'MEG0813',<br> u'MEG0812',<br> u'MEG0811',<br> u'MEG0822',<br> u'MEG0823',<br> u'MEG0821',<br> u'MEG0913',<br> u'MEG0912',<br> u'MEG0911',<br> u'MEG0923',<br> u'MEG0922',<br> u'MEG0921',<br> u'MEG0932',<br> u'MEG0933',<br> u'MEG0931',<br> u'MEG0942',<br> u'MEG0943',<br> u'MEG0941',<br> u'MEG1013',<br> u'MEG1012',<br> u'MEG1011',<br> u'MEG1023',<br> u'MEG1022',<br> u'MEG1021',<br> u'MEG1032',<br> u'MEG1033',<br> u'MEG1031',<br> u'MEG1043',<br> u'MEG1042',<br> u'MEG1041',<br> u'MEG1112',<br> u'MEG1113',<br> u'MEG1111',<br> u'MEG1123',<br> u'MEG1122',<br> u'MEG1121',<br> u'MEG1133',<br> u'MEG1132',<br> u'MEG1131',<br> u'MEG1142',<br> u'MEG1143',<br> u'MEG1141',<br> u'MEG1213',<br> u'MEG1212',<br> u'MEG1211',<br> u'MEG1223',<br> u'MEG1222',<br> u'MEG1221',<br> u'MEG1232',<br> u'MEG1233',<br> u'MEG1231',<br> u'MEG1243',<br> u'MEG1242',<br> u'MEG1241',<br> u'MEG1312',<br> u'MEG1313',<br> u'MEG1311',<br> u'MEG1323',<br> u'MEG1322',<br> u'MEG1321',<br> u'MEG1333',<br> u'MEG1332',<br> u'MEG1331',<br> u'MEG1342',<br> u'MEG1343',<br> u'MEG1341',<br> u'MEG1412',<br> u'MEG1413',<br> u'MEG1411',<br> u'MEG1423',<br> u'MEG1422',<br> u'MEG1421',<br> u'MEG1433',<br> u'MEG1432',<br> u'MEG1431',<br> u'MEG1442',<br> u'MEG1443',<br> u'MEG1441',<br> u'MEG1512',<br> u'MEG1513',<br> u'MEG1511',<br> u'MEG1522',<br> u'MEG1523',<br> u'MEG1521',<br> u'MEG1533',<br> u'MEG1532',<br> u'MEG1531',<br> u'MEG1543',<br> u'MEG1542',<br> u'MEG1541',<br> u'MEG1613',<br> u'MEG1612',<br> u'MEG1611',<br> u'MEG1622',<br> u'MEG1623',<br> u'MEG1621',<br> u'MEG1632',<br> u'MEG1633',<br> u'MEG1631',<br> u'MEG1643',<br> u'MEG1642',<br> u'MEG1641',<br> u'MEG1713',<br> u'MEG1712',<br> u'MEG1711',<br> u'MEG1722',<br> u'MEG1723',<br> u'MEG1721',<br> u'MEG1732',<br> u'MEG1733',<br> u'MEG1731',<br> u'MEG1743',<br> u'MEG1742',<br> u'MEG1741',<br> u'MEG1813',<br> u'MEG1812',<br> u'MEG1811',<br> u'MEG1822',<br> u'MEG1823',<br> u'MEG1821',<br> u'MEG1832',<br> u'MEG1833',<br> u'MEG1831',<br> u'MEG1843',<br> u'MEG1842',<br> u'MEG1841',<br> u'MEG1912',<br> u'MEG1913',<br> u'MEG1911',<br> u'MEG1923',<br> u'MEG1922',<br> u'MEG1921',<br> u'MEG1932',<br> u'MEG1933',<br> u'MEG1931',<br> u'MEG1943',<br> u'MEG1942',<br> u'MEG1941',<br> u'MEG2013',<br> u'MEG2012',<br> u'MEG2011',<br> u'MEG2023',<br> u'MEG2022',<br> u'MEG2021',<br> u'MEG2032',<br> u'MEG2033',<br> u'MEG2031',<br> u'MEG2042',<br> u'MEG2043',<br> u'MEG2041',<br> u'MEG2113',<br> u'MEG2112',<br> u'MEG2111',<br> u'MEG2122',<br> u'MEG2123',<br> u'MEG2121',<br> u'MEG2133',<br> u'MEG2132',<br> u'MEG2131',<br> u'MEG2143',<br> u'MEG2142',<br> u'MEG2141',<br> u'MEG2212',<br> u'MEG2213',<br> u'MEG2211',<br> u'MEG2223',<br> u'MEG2222',<br> u'MEG2221',<br> u'MEG2233',<br> u'MEG2232',<br> u'MEG2231',<br> u'MEG2242',<br> u'MEG2243',<br> u'MEG2241',<br> u'MEG2312',<br> u'MEG2313',<br> u'MEG2311',<br> u'MEG2323',<br> u'MEG2322',<br> u'MEG2321',<br> u'MEG2332',<br> u'MEG2333',<br> u'MEG2331',<br> u'MEG2343',<br> u'MEG2342',<br> u'MEG2341',<br> u'MEG2412',<br> u'MEG2413',<br> u'MEG2411',<br> u'MEG2423',<br> u'MEG2422',<br> u'MEG2421',<br> u'MEG2433',<br> u'MEG2432',<br> u'MEG2431',<br> u'MEG2442',<br> u'MEG2443',<br> u'MEG2441',<br> u'MEG2512',<br> u'MEG2513',<br> u'MEG2511',<br> u'MEG2522',<br> u'MEG2523',<br> u'MEG2521',<br> u'MEG2533',<br> u'MEG2532',<br> u'MEG2531',<br> u'MEG2543',<br> u'MEG2542',<br> u'MEG2541',<br> u'MEG2612',<br> u'MEG2613',<br> u'MEG2611',<br> u'MEG2623',<br> u'MEG2622',<br> u'MEG2621',<br> u'MEG2633',<br> u'MEG2632',<br> u'MEG2631',<br> u'MEG2642',<br> u'MEG2643',<br> u'MEG2641',<br> u'STI001',<br> u'STI002',<br> u'STI003',<br> u'STI004',<br> u'STI005',<br> u'STI006',<br> u'STI007',<br> u'STI008',<br> u'EEG030',<br> u'EEG048',<br> u'EEG057',<br> u'EEG058',<br> u'EEG059',<br> u'EOG061',<br> u'EOG062',<br> u'ECG063',<br> u'EMG064',<br> u'MISC001',<br> u'STI101',<br> u'STI201',<br> u'STI301',<br> u'CHPI001',<br> u'CHPI002',<br> u'CHPI003',<br> u'CHPI004',<br> u'CHPI005',<br> u'CHPI006',<br> u'CHPI007',<br> u'CHPI008',<br> u'CHPI009']<br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 May 2016 at 12:18, JR KING <span dir="ltr"><<a href="mailto:jeanremi.king@gmail.com" target="_blank">jeanremi.king@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Dear Elena,<br><br></div>This may be due to this bug fix: <br><br><a href="https://github.com/mne-tools/mne-python/pull/3055/files" target="_blank">https://github.com/mne-tools/mne-python/pull/3055/files</a><br><br></div>Previously, a synthetic ecg channel was incorrectly created even when the ecg channel was set by the user.<br><br></div>To check that the `<span style="font-family:monospace,monospace">create_ecg_epochs`</span> function works on your computer, try:<br><br>```<br><div><div><span style="font-family:monospace,monospace">from <a href="http://mne.io" target="_blank">mne.io</a> import Raw<br>from mne.preprocessing import create_ecg_epochs<br>from mne.datasets import sample<br><br>data_path = sample.data_path()<br>fname = data_path + '/MEG/sample/sample_audvis_filt-0-40_raw.fif'<br>raw = Raw(fname, preload=True)<br><br>ecg_epochs = create_ecg_epochs(raw, tmin=-.15, tmax=.4,<br> l_freq=1.0, h_freq=20.0,<br> reject=dict(grad=4000e-13),<br> ch_name=None, picks=None)</span><br> ```<br><br></div><div>I haven't been able to reproduce your error, so I suspect that there is something wrong with your raw. Can you report us<br><br>```<br></div><div><span style="font-family:monospace,monospace">raw._data.shape<br></span></div><div><span style="font-family:monospace,monospace">raw.ch_names<br></span></div><div><span style="font-family:monospace,monospace">reject<br></span></div><div><span style="font-family:monospace,monospace">picks</span><br>```<br><br></div><div>Best,<br><br></div><div>Jean-Rémi<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 12 May 2016 at 04:52, Elena Orekhova <span dir="ltr"><<a href="mailto:orekhova.elena.v@gmail.com" target="_blank">orekhova.elena.v@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hello mne developers,<br><br></div>I upgraded to mne-12 by <br>% pip install --upgrade --user mne<br><br></div>(although the output indicates that in this way I installed mne-0.11.0 ...? See below )<br><div><div><div>#################<br>Collecting mne<br> Using cached mne-0.12.0.tar.gz<br>Installing collected packages: mne<br> Running setup.py install for mne ... done<br>Successfully installed mne-0.11.0<br>################<br><br></div><div>After the upgrade running this line (that previously worked OK) <br>ecg_epochs = create_ecg_epochs(RAW, reject=reject, tmin=-.15, tmax=.4, ch_name=ECG_ch, l_freq=1.0, h_freq=20.0, picks=picks)<br>gives me an error:<br>Data must be a 2D array of shape (n_channels, n_samples<br><br>The full error output is below.<br></div><div>I believe that this relates to the upgrade.<br></div><div><br>Regards,<br></div><div>Elena<br></div><div><br></div><div><br></div><div><br></div></div></div></div>
<br></div></div>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>