Releases#
0.10.1 (2025-10-30)#
Fixing smoothing for
nap.decode_bayes.Fixing
np.einsum.
0.10.0 (2025-10-27)#
Generalizing
nap.compute_tuning_curves. It can take any time series object (Tsd, TsdFrame, TsGroup, TsdTensor) as input and work for any dimension of data.nap.compute_1d_tuning_curve,nap.compute_2d_tuning_curve,nap.compute_1d_tuning_curve_continuous,nap.compute_2d_tuning_curve_continuousare being deprecated in favor of the generalnap.compute_tuning_curves.Generalization of
nap.decode_1dandnap.decode_2dtonap.decode_bayesfor bayesian decoding of any dimension of data.New function
nap.decode_templatefor template matching decoding of any dimension of data.Metadata can be restricted with
restrict_info.New function
detect_oscillatory_eventsto detect oscillatory events in a Tsd object.Fix TsdFrame
__repr__for boolean data type.Refactoring of
nap.compute_mutual_informationto take as input xarray tuning curves object.in_intervalmethod for IntervalSet to check if time points are within intervals.Refactoring
nap.compute_discrete_tuning_curvestocompute_response_per_epoch.Tuning curves function can return spike counts and occupancy separately.
0.9.2 (2025-06-16)#
Implement
time_diffmethod for time series objectsImplement
nap.compute_isi_distribution, which usestime_diffto compute the distribution of inter spike intervalsFix IntervalSet and TsGroup
__repr__Fix backward compatibility for loading old npz files.
0.9.1 (2025-06-04)#
Fix TsdFrame
__repr__
0.9.0 (2025-05-13)#
New private class:
_MetadataMixinand_Metadata(UserDict)(core/metadata_class.py). Can be inherited by:IntervalSet
TsdFrame
TsGroup This class assumes that whatever is inheriting it has the private property
self._initialized.metadata: public read-only view of metadata
Add a decimate method to _BaseTsd.
Adds support for a new derivative method which wraps
np.gradientwith support for epochs and time index
0.8.5 (2025-03-24)#
Implements
nap.build_tensorandnap.warp_tensorfor trial-based data.Fix horizontal slicing for TsdFrame (Issue )
Fix empty TsGroup. The rate attribute was not added to the metadata dataframe.
New example notebook : Trial-aligned choice decoding in International Brain Lab data
Set pynapple version dynamically by reading the github tag.
0.8.4 (2025-02-07)#
Fix value printing of IntervalSet when rows are collapsed
Backward compatibility fix for loading npz files with TsGroup
Fix indexing of IntervalSet to be able to use -1
Add column names for compute_wavelet_transform
0.8.3 (2025-01-24)#
compute_mean_power_spectral_densitycomputes the mean periodogram.
0.8.2 (2025-01-22)#
compute_power_spectral_densitynow computes the periodogram, where previously it was only computing the FFTcompute_ffthas been added that contains the old functionality ofcompute_power_spectral_density.
0.8.1 (2025-01-17)#
Bugfix : time support was not updated for
bin_averageandinterpolatewith new_initialize_tsd_outputmethod
0.8.0 (2025-01-15)#
New private class:
_MetadataMixin(core/metadata_class.py). Can be inherited byIntervalSet,TsdFrameandTsGroup.decode_1danddecode_2dnow acceptsTsdFrameas input.
0.7.1 (2024-09-24)#
Fixing nan issue when computing 1d tuning curve (See issue #334).
Refactor tuning curves and correlogram tests.
Adding validators decorators for tuning curves and correlogram modules.
0.7.0 (2024-09-16)#
Morlet wavelets spectrogram with utility for plotting the wavelets.
(Mean) Power spectral density. Returns a Pandas DataFrame.
Convolve function works for any dimension of time series and any dimensions of kernel.
dtypein count functionget_slice: public method with a simplified API, argument start, end, time_units. returns a slice that matches behavior of Base.get._get_slice: private method, adds the argument “mode” this can be: “after_t”, “before_t”, “closest_t”, “restrict”.splitmethod for IntervalSet. Argument isinterval_sizein time unit.Changed os import to pathlib.
Fixed pickling issue. TsGroup can now be saved as pickle.
TsGroup can be created from an iterable of Ts/Tsd objects.
IntervalSet can be created from (start, end) pairs
0.6.6 (2024-05-28)#
Full lazy-loading for NWB file.
Parameter
load_arrayfor time series can prevent loading zarr arrayFunction to merge a list of
TsGroup
0.6.5 (2024-05-14)#
Full
pynajaxbackend compatibilityFixed
TsdFramecolumn slicing
0.6.4 (2024-04-18)#
Fixing IntervalSet
__repr__. Tabulate conflict with numpy 1.26.
0.6.3 (2024-04-17)#
Improving
__repr__for all objects.TsGroup
__getattr__and__setattr__added to access metadata columns directlyTsGroup
__setitem__now allows changes directly to metadataTsGroup
__getitem__returns column of metadata if passed as string
0.6.2 (2024-04-04)#
smoothnow takes standard deviation in time unitsFixed
TsGroupsaving method.__getattr__ofBaseTsdallow numpy functions to be attached as attributes of Tsd objectsAdded
getmethod forTsGroupTsds can be concatenate vertically if time indexes matches.
0.6.1 (2024-03-03)#
Fixed pynapple
locmethod for newIntervalSet
0.6.0 (2024-03-02)#
Refactoring
IntervalSetto pure numpy ndarray.Implementing new chain of inheritance for time series with abstract base class.
base_class.Baseholds the temporal methods for all time series andTs.time_series.BaseTsdinheritBaseand implements the common methods forTsd,TsdFrameandTsd.Automatic conversion to numpy ndarray for all objects that are numpy-like (typically jax).
0.5.1 (2024-01-29)#
Implementing
event_trigger_averagefor all dimensions.Hiding jitted functions from users.
0.5.0 (2023-12-12)#
Removing GUI stack from pynapple. To create a NWB file, users need to install nwbmatic (https://github.com/pynapple-org/nwbmatic)
Implementing
compute_perievent_continuousImplementing
convolvefor Tsd, TsdFrame and TsdTensorImplementing
smoothfor fast gaussian smoothing of time series
0.4.1 (2023-10-30)#
Implementing
getmethod that return both an interval or the closest timepoint
0.4.0 (2023-10-11)#
Implementing the numpy array container approach within pynapple
TsdTensor for objects larger than 2 dimensions is now available
0.3.6 (2023-09-11)#
Fix issue in NWB reader class with units
Implement a linear interpolation function.
0.3.5 (2023-08-08)#
NWB reader class
NPZ reader class
Folder class for navigating a dataset.
Cross-correlograms function can take tuple
New doc with mkdocs-gallery
0.3.4 (2023-06-29)#
TsGroup.to_tsdandTsd.to_tsgrouptransformationscountcan take IntervalSetSaving to npz functions for all objects.
tsd.value_fromcan take TsdFrameWarning message for deprecating current IO.
0.3.3 (2023-04-17)#
Fixed minor bug with tkinter
0.3.2 (2023-04-12)#
PyQt removed from the list of dependencies
0.3.1 (2022-12-08)#
Core functions rewritten with Numba
0.2.4 (2022-05-02)#
0.2.3 (2022-04-05)#
Fixed minor bug when saving DLC in NWB.
0.2.3 (2022-04-05)#
Alpha release
0.2.2 (2022-04-05)#
Beta testing version for public
0.2.1 (2022-02-07)#
Beta testing version for Peyrache Lab.
0.2.0 (2022-01-10)#
First version for pynapple with main features in core, process and IO.
0.2.0 Pre-release (2022-01-06)#
Pre-release version for pynapple with main features in core and process.
0.1.1 (2021-10-25)#
First release on PyPI.
Firt minimal version