Skip to content

Commit 997bdbb

Browse files
authored
Merge pull request #64 from dj-sciops/update-lfp
fix: add `unsigned_to_signed` to `preprocessing` to adapt to new version of SI 0.103+
2 parents 77b5fa7 + fa1be30 commit 997bdbb

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6+
## [0.6.2] - 2025-09-15
7+
8+
- Fix - Convert unsigned to signed in `organoid_preprocessing` for SI v.0.103+
9+
610
## [0.6.1] - 2025-06-04
711

812
- Fix - Use Spikeinterface official released versions

element_array_ephys/spike_sorting/si_preprocessing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import spikeinterface as si
2-
from spikeinterface import preprocessing
3-
42

53
def CatGT(recording):
64
recording = si.preprocessing.phase_shift(recording)
@@ -39,6 +37,7 @@ def IBLdestriping_modified(recording):
3937

4038
def organoid_preprocessing(recording):
4139
"""Preprocessing pipeline for organoid data."""
40+
recording = si.preprocessing.unsigned_to_signed(recording)
4241
recording = si.preprocessing.bandpass_filter(
4342
recording=recording, freq_min=300, freq_max=6000
4443
)

element_array_ephys/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Package metadata."""
22

3-
__version__ = "0.6.1"
3+
__version__ = "0.6.2"

0 commit comments

Comments
 (0)