Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.egg-info
*.pyc
__pycache__
1 change: 1 addition & 0 deletions experiments/experiment_1-2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
import itertools
import warnings
from joblib import Parallel, delayed
Expand Down
1 change: 1 addition & 0 deletions experiments/experiment_3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
from os.path import join as opj
import os
import warnings
Expand Down
1 change: 1 addition & 0 deletions experiments/supplementary_2-3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
import itertools
from joblib import Parallel, delayed
from fmralignbench.utils import WHOLEBRAIN_DATASETS, inter_subject_align_decode
Expand Down
1 change: 1 addition & 0 deletions experiments/supplementary_4.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
""" File to replicate 3mm volumic results with fsaverage7 surfacic representation
of the data. Only tested (and tractable) for "pairwise_scaled_orthogonal" method and on IBC RSVP decoding task
"""
Expand Down
5 changes: 3 additions & 2 deletions fmralignbench/conf.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ROOT_FOLDER = '/storage/store2/work/tbazeill/neuroimage'
N_JOBS = 15
# *- encoding: utf-8 -*-
ROOT_FOLDER = '/volatile/home/td273138/data/fmralignbenchmark'
N_JOBS = 10
1 change: 1 addition & 0 deletions fmralignbench/fastsrm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
"""Copied from private fastSRM repo by Hugo Richard"""
"""Fast Shared Response Model (FastSRM)
The implementation is based on the following publications:
Expand Down
1 change: 1 addition & 0 deletions fmralignbench/fetchers/dataset_fetcher.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
import os
from pathlib import Path
from sklearn.utils import Bunch
Expand Down
1 change: 1 addition & 0 deletions fmralignbench/intra_subject_alignment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
"""IntraSubjectAlignment class is a hack of fmralign pairwise_alignment to replicate Tavor 2016

Care is needed, few changes but tricky ones :
Expand Down
1 change: 1 addition & 0 deletions fmralignbench/plot_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
import copy
from matplotlib.lines import Line2D
from matplotlib import gridspec
Expand Down
1 change: 1 addition & 0 deletions fmralignbench/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# *- encoding: utf-8 -*-
import os
import csv
import time
Expand Down
14 changes: 7 additions & 7 deletions fmralignbench/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@
# in some meaningful order (more => less 'core').
REQUIRED_MODULE_METADATA = (
('numpy', {
'min_version': '1.18',
'min_version': '1.16',
'install_info': _BENCHMARK_INSTALL_MSG}),
('scipy', {
'min_version': '1.4',
'min_version': '1.2',
'install_info': _BENCHMARK_INSTALL_MSG}),
('sklearn', {
'pypi_name': 'scikit-learn',
'min_version': '0.22',
'min_version': '0.20',
'install_info': _BENCHMARK_INSTALL_MSG}),
('nibabel', {
'min_version': '3.1',
'min_version': '2.5',
'required_at_installation': True,
'install_info': _BENCHMARK_INSTALL_MSG}),
('nilearn', {
'min_version': '0.6',
'min_version': '0.5',
'install_info': _BENCHMARK_INSTALL_MSG}),
('matplotlib', {
'min_version': '3.1.1',
'min_version': '2.2.5',
'install_info': _BENCHMARK_INSTALL_MSG}),
('pandas', {
'min_version': '1.1',
'min_version': '0.24',
'install_info': _BENCHMARK_INSTALL_MSG}),
('fmralign', {
'min_version': '0.0.2a0',
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

# *- encoding: utf-8 -*-
from setuptools import setup, find_packages
import os
import sys
Expand Down