question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Recorders with non voltage (non standard) channels and slicing channels

See original GitHub issue

In #761 we move the warnings of non standard units to get_traces. We achieved this by introducing an extra attribute:

https://github.com/SpikeInterface/spikeinterface/blob/486bc67d364745437ebf1ed90bfdef7fae255c1c/spikeinterface/core/baserecording.py#L109-L116

However, as far as I know this attribute (self.has_non_standards_units) is not copied when we slice the channels with recorder.slice_channel which indicates problems. I think that what would happen right now is that the attribute NeoRawIOClass is not copied either so the sliced recorder with non voltage units will never raise the warning.

Maybe we should handle this with annotations as you already have the machinery in those methods to copy that?

Context: #758, #761 and https://github.com/NeuralEnsemble/python-neo/issues/1133

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
h-mayorquincommented, Jul 19, 2022

All right, so we should:

  1. Do this in NeoBaseRecordingExtractor as @alejoe91 points out, and
  2. Do this with attributes so the copying machinery of slicing works.

Please say if you agree with both and I will take care of it,

1reaction
h-mayorquincommented, Jul 5, 2022

@alejoe91 we should probably move this warning to get_traces to the neobase recording withing the library.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SLICE MICRO | Diversified Technical Systems
SLICE Distributor​​ Supports Ethernet communication, power and control signals between multiple SLICE system chains (supports hundreds of channels). Ideal for in ...
Read more >
Single-Channel Recording of Ligand-Gated Ion Channels - PMC
Single-channel recordings reveal the microscopic properties of individual ligand-gated ion channels. Such recordings contain much more ...
Read more >
The interpretation of single channel recordings
The information in a single channel record is contained in the amplitudes of the openings, the durations of the open and shut periods,...
Read more >
Recording, analysis, and function of dendritic voltage-gated ...
In this study, we review some aspects related to the investigation of voltage-gated ion channels in dendrites: recording, analysis, and function ...
Read more >
Electrophysiology - ACNP
8 for review); under the right conditions, the vesicles fuse with the lipid bilayer membrane and insert channels. Standard voltage-clamp recordings (see ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found