Skip to content

Commit 3583279

Browse files
authored
Merge pull request #1626 from zm711/update-copyright
0.14.0 release notes
2 parents e9a710d + c6e79e7 commit 3583279

File tree

6 files changed

+76
-31
lines changed

6 files changed

+76
-31
lines changed

codemeta.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"license": "https://spdx.org/licenses/BSD-3-Clause",
55
"codeRepository": "https://github.com/NeuralEnsemble/python-neo",
66
"contIntegration": "https://github.com/NeuralEnsemble/python-neo/actions",
7-
"dateModified": "2024-10-14",
8-
"downloadUrl": "https://files.pythonhosted.org/packages/e0/0d/e973b7e8464b6f1d88022c46040f203d93c0b080af0e33702bb11873dbbb/neo-0.13.4.tar.gz",
7+
"dateModified": "2025-01-17",
8+
"downloadUrl": "",
99
"issueTracker": "https://github.com/NeuralEnsemble/python-neo/issues",
1010
"name": "Neo",
11-
"version": "0.13.4",
11+
"version": "0.14.0",
1212
"identifier": "RRID:SCR_000634",
1313
"description": "Neo is a Python package for working with electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats, including Spike2, NeuroExplorer, AlphaOmega, Axon, Blackrock, Plexon, Tdt, and support for writing to a subset of these formats plus non-proprietary formats including HDF5.\n\nThe goal of Neo is to improve interoperability between Python tools for analyzing, visualizing and generating electrophysiology data by providing a common, shared object model. In order to be as lightweight a dependency as possible, Neo is deliberately limited to represention of data, with no functions for data analysis or visualization.\n\nNeo is used by a number of other software tools, including SpykeViewer (data analysis and visualization), Elephant (data analysis), the G-node suite (databasing), PyNN (simulations), tridesclous_ (spike sorting) and ephyviewer (data visualization).\n\nNeo implements a hierarchical data model well adapted to intracellular and extracellular electrophysiology and EEG data with support for multi-electrodes (for example tetrodes). Neo's data objects build on the quantities package, which in turn builds on NumPy by adding support for physical dimensions. Thus Neo objects behave just like normal NumPy arrays, but with additional metadata, checks for dimensional consistency and automatic unit conversion.",
1414
"applicationCategory": "neuroscience",
15-
"releaseNotes": "https://neo.readthedocs.io/en/latest/releases/0.13.4.html",
15+
"releaseNotes": "https://neo.readthedocs.io/en/latest/releases/0.14.0.html",
1616
"funding": "https://cordis.europa.eu/project/id/945539",
1717
"developmentStatus": "active",
1818
"referencePublication": "https://doi.org/10.3389/fninf.2014.00010",
@@ -113,6 +113,7 @@
113113
{ "@type": "Person", "givenName": "Xin", "familyName": "Niu"},
114114
{ "@type": "Person", "givenName": "Anthony", "familyName": "Pinto"},
115115
{ "@type": "Person", "givenName": "Chris", "familyName": "Heydrick"},
116-
{"@type": "Person", "givenName": "Nikhil", "familyName": "Chandra"}
116+
{"@type": "Person", "givenName": "Nikhil", "familyName": "Chandra"},
117+
{"@type": "Person", "givenName": "Luigi", "familyName": "Petrucco"}
117118
]
118119
}

doc/source/authors.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ and may not be the current affiliation of a contributor.
8989
* Anthony Pinto [41]
9090
* Xin Niu
9191
* Nikhil Chandra [40]
92+
* Luigi Petrucco [42]
9293

9394
1. Centre de Recherche en Neuroscience de Lyon, CNRS UMR5292 - INSERM U1028 - Universite Claude Bernard Lyon 1
9495
2. Unité de Neuroscience, Information et Complexité, CNRS UPR 3293, Gif-sur-Yvette, France
@@ -131,6 +132,7 @@ and may not be the current affiliation of a contributor.
131132
39. Massachusetts General Hospital, Department of Molecular Biology
132133
40. Plexon Inc.
133134
41. Paris Brain Institute
135+
42. Istituto Italiano di Tecnologia (IIT), Italy
134136

135137

136138

doc/source/releases.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release notes
66
.. toctree::
77
:maxdepth: 1
88

9+
releases/0.14.0.rst
910
releases/0.13.4.rst
1011
releases/0.13.3.rst
1112
releases/0.13.2.rst

doc/source/releases/0.14.0.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
========================
2+
Neo 0.14.0 release notes
3+
========================
4+
5+
17 January 2025
6+
7+
This release of Neo is now compatible with NumPy 2.0 for core and IOs (with the exception of :class:`MedIO`) as well as Python 3.13,
8+
and includes IO bug fixes with an eye toward a 1.0 release.
9+
10+
See all `pull requests`_ included in this release and the `list of closed issues`_.
11+
12+
Updated dependencies
13+
--------------------
14+
15+
Neo now has a limit of NumPy >= 1.22.4
16+
17+
CI Improvements
18+
---------------
19+
20+
To ensure compatiblility between pre- and post- NumPy 2.0 the CI was changed to test on the lowest supported Python (3.9) and
21+
the highest supported Python (3.13) each with NumPy 1.26 as well as NumPy 2.0 for all :code:`RawIO` and :code:`IO` tests.
22+
23+
We also no longer use a cached conda env for testing as we see that there is no speed benefit to caching and we had some issues
24+
with the caches getting corrupted.
25+
26+
Testing of additional Python-NumPy combinations for core tests were added (NumPy 2.0 and 2.1 with their respective Python versions).
27+
28+
Bug fixes and improvements in IO modules
29+
----------------------------------------
30+
31+
Bug fixes and/or improvements have been made to :class:`NeuroNexusIO`, :class:`OpenEphysBinaryIO`, :class:`MicromedIO`, :class:`IntanIO` and :class:`SpikeGLX`.
32+
33+
Acknowledgements
34+
----------------
35+
36+
Thanks to Zach McKenzie, Heberto Mayorquin, Andrew Davison, Luigi Petrucco, Alessio Buccino, and Samuel Garcia.
37+
38+
.. _`pull requests` : https://github.com/NeuralEnsemble/python-neo/pulls?q=is%3Apr+is%3Aclosed+milestone%3A0.14.0
39+
40+
.. _`list of closed issues` : https://github.com/NeuralEnsemble/python-neo/issues?q=is%3Aissue%20state%3Aclosed%20milestone%3A0.14.0

examples/plot_igorio.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
IgorProIO Demo
3-
===========================
2+
IgorProIO Demo (BROKEN)
3+
=======================
44
55
"""
66

@@ -17,25 +17,25 @@
1717
# Downloaded from Human Brain Project Collaboratory
1818
# Digital Reconstruction of Neocortical Microcircuitry (nmc-portal)
1919
# http://microcircuits.epfl.ch/#/animal/8ecde7d1-b2d2-11e4-b949-6003088da632
20-
21-
22-
datafile_url = "https://microcircuits.epfl.ch/data/released_data/B95.zip"
23-
filename_zip = "B95.zip"
24-
filename = "grouped_ephys/B95/B95_Ch0_IDRest_107.ibw"
25-
urlretrieve(datafile_url, filename_zip)
26-
27-
zip_ref = zipfile.ZipFile(filename_zip) # create zipfile object
28-
zip_ref.extract(path=".", member=filename) # extract file to dir
29-
zip_ref.close()
30-
31-
######################################################
32-
# Once we have our data we can use `get_io` to find an
33-
# io (Igor in this case). Then we read the analogsignals
34-
# Finally we will make some nice plots
35-
reader = get_io(filename)
36-
signal = reader.read_analogsignal()
37-
plt.plot(signal.times, signal)
38-
plt.xlabel(signal.sampling_period.dimensionality)
39-
plt.ylabel(signal.dimensionality)
40-
41-
plt.show()
20+
# NOTE: this dataset is not found as the link is broken.
21+
22+
# datafile_url = "https://microcircuits.epfl.ch/data/released_data/B95.zip"
23+
# filename_zip = "B95.zip"
24+
# filename = "grouped_ephys/B95/B95_Ch0_IDRest_107.ibw"
25+
# urlretrieve(datafile_url, filename_zip)
26+
27+
# zip_ref = zipfile.ZipFile(filename_zip) # create zipfile object
28+
# zip_ref.extract(path=".", member=filename) # extract file to dir
29+
# zip_ref.close()
30+
31+
# ######################################################
32+
# # Once we have our data we can use `get_io` to find an
33+
# # io (Igor in this case). Then we read the analogsignals
34+
# # Finally we will make some nice plots
35+
# reader = get_io(filename)
36+
# signal = reader.read_analogsignal()
37+
# plt.plot(signal.times, signal)
38+
# plt.xlabel(signal.sampling_period.dimensionality)
39+
# plt.ylabel(signal.dimensionality)
40+
41+
# plt.show()

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "neo"
3-
version = "0.14.0.dev0"
3+
version = "0.14.0"
44
authors = [{name = "Neo authors and contributors"}]
55
description = "Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats"
66
readme = "README.rst"
@@ -18,6 +18,7 @@ classifiers = [
1818
"Programming Language :: Python :: 3.10",
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
21+
"Programming Language :: Python :: 3.13",
2122
"Programming Language :: Python :: 3 :: Only",
2223
]
2324

@@ -48,7 +49,7 @@ test = [
4849
# "dhn_med_py<2.0", # ci failing with 2.0 test future version when stable
4950
"pytest",
5051
"pytest-cov",
51-
# datalad # this dependency is covered by conda (environment_testing.yml)
52+
# datalad # this dependency is covered by conda (environment_testing.yml)-- maybe moving straight to ci
5253
"scipy>=1.0.0",
5354
"pyedflib",
5455
"h5py",

0 commit comments

Comments
 (0)