Skip to content

Commit 07382c0

Browse files
authored
Merge pull request #176 from arokem/drop_legacy
Drop legacy
2 parents 827b609 + fabee1f commit 07382c0

File tree

9 files changed

+10
-605
lines changed

9 files changed

+10
-605
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ sudo: false
33

44
python:
55
- 3.6
6-
- 3.4
7-
- 2.7
86

97
install:
108
- travis_retry pip install -r requirements-dev.txt

nitime/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@
2626
from . import algorithms
2727
from . import timeseries
2828
from . import analysis
29-
from . import six
3029

3130
from .timeseries import *

nitime/algorithms/event_related.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ def fir(timeseries, design):
5555
and Unbiased Approach. Human Brain Mapping, 11:249-260
5656
5757
"""
58-
h = np.array(np.dot(np.dot(linalg.pinv(np.dot(design.T, design)),
59-
design.T),
60-
timeseries.T))
61-
return h
58+
return linalg.pinv(design.T @design) @ design.T @ timeseries.T
6259

6360

6461
def freq_domain_xcorr(tseries, events, t_before, t_after, Fs=1):

nitime/analysis/base.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11

2-
try:
3-
from inspect import getfullargspec
4-
except ImportError: # PY2
5-
from inspect import getargspec as getfullargspec
2+
from inspect import getfullargspec
63

74
from nitime import descriptors as desc
85

0 commit comments

Comments
 (0)