spm-python 25.1b1.post3__py3-none-any.whl → 25.1b1.post4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spm/_version.py +1 -1
- spm/utils/spm_mne_converter.py +6 -5
- {spm_python-25.1b1.post3.dist-info → spm_python-25.1b1.post4.dist-info}/METADATA +1 -1
- {spm_python-25.1b1.post3.dist-info → spm_python-25.1b1.post4.dist-info}/RECORD +8 -8
- {spm_python-25.1b1.post3.dist-info → spm_python-25.1b1.post4.dist-info}/WHEEL +0 -0
- {spm_python-25.1b1.post3.dist-info → spm_python-25.1b1.post4.dist-info}/licenses/AUTHORS.txt +0 -0
- {spm_python-25.1b1.post3.dist-info → spm_python-25.1b1.post4.dist-info}/licenses/LICENCE +0 -0
- {spm_python-25.1b1.post3.dist-info → spm_python-25.1b1.post4.dist-info}/top_level.txt +0 -0
spm/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "25.01.beta1.
|
|
1
|
+
__version__ = "25.01.beta1.post4"
|
spm/utils/spm_mne_converter.py
CHANGED
|
@@ -177,11 +177,12 @@ def spm_2_mne_raw(D):
|
|
|
177
177
|
)
|
|
178
178
|
)
|
|
179
179
|
# np.savetxt(D.path()+'/tra_matrix_from_spm.tsv', D.sensors('MEG').tra, delimiter='\t')
|
|
180
|
-
bad_channels = D.badchannels()
|
|
181
|
-
if
|
|
182
|
-
info["bads"] = [
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
bad_channels = D.badchannels()
|
|
181
|
+
if len(bad_channels) > 0:
|
|
182
|
+
info["bads"] = [
|
|
183
|
+
channel_names[i - 1] # python index = matlab index - 1
|
|
184
|
+
for i in bad_channels
|
|
185
|
+
]
|
|
185
186
|
raw = mne.io.RawArray(data, info)
|
|
186
187
|
return raw
|
|
187
188
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spm-python
|
|
3
|
-
Version: 25.1b1.
|
|
3
|
+
Version: 25.1b1.post4
|
|
4
4
|
Summary: Python bindings for the SPM software.
|
|
5
5
|
Author: Yulia Bezsudnova, Arthur Mitchell, Peter Zeidman, Olivia Kowalczyk
|
|
6
6
|
Author-email: Johan Medrano <johan.medrano@ucl.ac.uk>, Yael Balbastre <y.balbastre@ucl.ac.yk>
|
|
@@ -2,7 +2,7 @@ examples/DCM_ERP.py,sha256=MJ6PvOREzGUZVt9Z-PMHv-AcSirS0Q5L7uh8emPGTyE,3565
|
|
|
2
2
|
examples/auditory_batch.py,sha256=Z7za9J9HhpIPHdPd-7FvJUPLRL3ytlG6iU2wwYfXW2E,6484
|
|
3
3
|
examples/mne2spm2mne.py,sha256=q1opcybGU1VbBJclXJm0ZJ2AhNBZVZfyZ9u2tXK7R6U,3461
|
|
4
4
|
spm/__init__.py,sha256=FXx9wwJLdnWDb7jjtal43Dxrk6GD_2GptVxGKfEOkBE,141498
|
|
5
|
-
spm/_version.py,sha256=
|
|
5
|
+
spm/_version.py,sha256=Knlb8RGK4BRoSCyzSFQaEokld6DdHYkU3m2wNk26qHY,34
|
|
6
6
|
spm/file_array.py,sha256=oP9e81qvLhld1E1mR1yQjn3BCDE2SZ2U51191-dY_0U,20634
|
|
7
7
|
spm/gifti.py,sha256=_mMhspgd7yEzVAc7y6DIAlrAVCo3e6q6-AoPowqOvqc,24429
|
|
8
8
|
spm/meeg.py,sha256=CWXi4lTepO1sxOidmtmbWu64VNTl12thBjETogSwLyw,50562
|
|
@@ -3988,9 +3988,9 @@ spm/__toolbox/__spectral/spm_wavspec.py,sha256=iN5uKekuqri_4DyAUbcOUcyRoYtzgiwZm
|
|
|
3988
3988
|
spm/_spm/__init__.py,sha256=fxn60t8akbH8cp_AQQqzVoYATdMqwEJjnWlrrduvBiI,17271
|
|
3989
3989
|
spm/_spm/_spm.ctf,sha256=UtKIBHbqyJhQWEmo0mTLEMWi_-6AHmwc1jAsnSJJrBw,82623371
|
|
3990
3990
|
spm/utils/__init__.py,sha256=xTKZLBr5fC5NYO5J8q3BkoYPvKrOhBbHFpVSzuXmSIM,107
|
|
3991
|
-
spm/utils/spm_mne_converter.py,sha256
|
|
3992
|
-
spm_python-25.1b1.
|
|
3993
|
-
spm_python-25.1b1.
|
|
3991
|
+
spm/utils/spm_mne_converter.py,sha256=kRW6dUpvcaj4QnlecI68tJ6Z3Rx62nR788hY2TA6eC4,13501
|
|
3992
|
+
spm_python-25.1b1.post4.dist-info/licenses/AUTHORS.txt,sha256=zhOOnVZPeLx4uW5sV0oNFoZkqH7nfqrtj1FTT-A4BYQ,918
|
|
3993
|
+
spm_python-25.1b1.post4.dist-info/licenses/LICENCE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
3994
3994
|
tests/test_array.py,sha256=KDvZbiWPItWyPwiJQUK2l-QkqUKKUquvY38XXLJqfCA,8255
|
|
3995
3995
|
tests/test_batch_creation.py,sha256=4p-drlRMzeRMaBo0Y-KfTtuIoHGov1nwXflUBlKjpdA,20365
|
|
3996
3996
|
tests/test_cell.py,sha256=tJn0bs4-ZJJ4PQxDT3Q_3EI5hThv9pZjXdukmoEG76k,17083
|
|
@@ -3999,7 +3999,7 @@ tests/test_matlab_class.py,sha256=3y7xqCdVObDJiULRoZfYdjD6PZnZR_UBnTTjDv9DX9w,40
|
|
|
3999
3999
|
tests/test_runtime.py,sha256=V7-YuEvECkARH4ATLUPpchihefs5wi9hVlzfIli4VEg,3871
|
|
4000
4000
|
tests/test_struct.py,sha256=ktqpLeF5VRW9ssMJkT__uZVBlRCH4S_pN2v6T0ybDig,11398
|
|
4001
4001
|
tests/test_structarray.py,sha256=EhuUElHnAuXe9QFKgLvGLwAx7GhOnVB_yGzgSuSIDWU,2952
|
|
4002
|
-
spm_python-25.1b1.
|
|
4003
|
-
spm_python-25.1b1.
|
|
4004
|
-
spm_python-25.1b1.
|
|
4005
|
-
spm_python-25.1b1.
|
|
4002
|
+
spm_python-25.1b1.post4.dist-info/METADATA,sha256=MQwJNnh5lG8H1H8Fd_P4FGumoaibnX5OwWOirXiBTGc,4311
|
|
4003
|
+
spm_python-25.1b1.post4.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
4004
|
+
spm_python-25.1b1.post4.dist-info/top_level.txt,sha256=e_sdCN9drTWfv_L8ytIam-pJ7hi05BDwSqT__-iiJkA,19
|
|
4005
|
+
spm_python-25.1b1.post4.dist-info/RECORD,,
|
|
File without changes
|
{spm_python-25.1b1.post3.dist-info → spm_python-25.1b1.post4.dist-info}/licenses/AUTHORS.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|