Skip to content

Commit

Permalink
Merge pull request #2363 from samuelgarcia/refactor_recording_tools
Browse files Browse the repository at this point in the history
Refactor recording tools
  • Loading branch information
alejoe91 authored Jan 12, 2024
2 parents 9c2b66f + 2d8f123 commit aa4f569
Show file tree
Hide file tree
Showing 11 changed files with 656 additions and 625 deletions.
5 changes: 2 additions & 3 deletions src/spikeinterface/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,13 @@

# tools
from .core_tools import (
write_binary_recording,
write_to_h5_dataset_format,
write_binary_recording,
read_python,
write_python,
)
from .job_tools import ensure_n_jobs, ensure_chunk_size, ChunkRecordingExecutor, split_job_kwargs, fix_job_kwargs
from .recording_tools import (
write_binary_recording,
write_to_h5_dataset_format,
get_random_data_chunks,
get_channel_distances,
get_closest_channels,
Expand Down
3 changes: 3 additions & 0 deletions src/spikeinterface/core/baserecording.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
from .core_tools import (
convert_bytes_to_str,
convert_seconds_to_str,
)
from .recording_tools import (
write_binary_recording,
write_memory_recording,
)

from .job_tools import split_job_kwargs


Expand Down
3 changes: 2 additions & 1 deletion src/spikeinterface/core/binaryrecordingextractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import numpy as np

from .baserecording import BaseRecording, BaseRecordingSegment
from .core_tools import write_binary_recording, define_function_from_class
from .core_tools import define_function_from_class
from .recording_tools import write_binary_recording
from .job_tools import _shared_job_kwargs_doc


Expand Down
Loading

0 comments on commit aa4f569

Please sign in to comment.