Skip to content

Commit e9734a5

Browse files
committed
fixing bug
1 parent 56fec8a commit e9734a5

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

pynapple/process/functions.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from scipy import signal
77
from itertools import combinations
88
#from pycircstat.descriptive import mean as circmean
9-
from pylab import *
9+
#from pylab import *
1010
from .. import core as nts
1111

1212

@@ -903,15 +903,15 @@ def shuffleByIntervalSpikes(spikes, epochs):
903903
shuffled[n] = nts.Ts(t = np.cumsum(np.hstack(isi)) + epochs.loc[0,'start'])
904904
return shuffled
905905

906-
def plotTuningCurves(tcurves, tokeep = []):
907-
figure()
908-
for i in tcurves.columns:
909-
subplot(int(np.ceil(np.sqrt(tcurves.shape[1]))),int(np.ceil(np.sqrt(tcurves.shape[1]))),i+1, projection='polar')
910-
plot(tcurves[i])
911-
if len(tokeep):
912-
if i in tokeep:
913-
plot(tcurves[i], linewidth = 4)
914-
return
906+
# def plotTuningCurves(tcurves, tokeep = []):
907+
# figure()
908+
# for i in tcurves.columns:
909+
# subplot(int(np.ceil(np.sqrt(tcurves.shape[1]))),int(np.ceil(np.sqrt(tcurves.shape[1]))),i+1, projection='polar')
910+
# plot(tcurves[i])
911+
# if len(tokeep):
912+
# if i in tokeep:
913+
# plot(tcurves[i], linewidth = 4)
914+
# return
915915

916916

917917
######################################################################################

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
python_requires='>=3.6',
2727
classifiers=[
2828
'Development Status :: 2 - Pre-Alpha',
29-
'Intended Audience :: Developers',
29+
'Intended Audience :: Researchers',
3030
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
3131
'Natural Language :: English',
3232
'Programming Language :: Python :: 3',
@@ -40,13 +40,13 @@
4040
long_description='pynapple is a Python library for analysing neurophysiological data. It allows to handle time series and epochs but also to use generic functions for neuroscience such as tuning curves and cross-correlogram of spikes. It is heavily based on neuroseries.'
4141
+ '\n\n' + history,
4242
include_package_data=True,
43-
keywords='pynapple',
43+
keywords='neuroscience',
4444
name='pynapple',
4545
packages=find_packages(include=['pynapple', 'pynapple.*']),
4646
test_suite='tests',
4747
tests_require=test_requirements,
48-
url='https://github.com/gviejo/pynapple',
49-
version='0.1.0',
48+
url='https://github.com/PeyracheLab/pynapple',
49+
version='0.1.1',
5050
zip_safe=False,
5151
long_description_content_type='text/x-rst'
5252
)

0 commit comments

Comments
 (0)