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.

Supplying sampling_frequency doesn't work in compare_multiple_sorters

See original GitHub issue

The following code doesn’t work if the sorters have no sampling_frequency specified, even though sampling_frequency is being passed as argument:

msc = sc.compare_multiple_sorters(sorting_list=[sorting_KL_split, 
                                                sorting_MS4], 
                                  name_list=['KL', 'MS4'],
                                  min_accuracy=0.5,
                                  sampling_frequency=recording.get_sampling_frequency(), 
                                  verbose=True
                                  )

Possible cause: In MultiSortingComparison._do_matching, the sampling frequency is never passed to SortingComparison

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
samuelgarciacommented, Sep 12, 2019

Oups sorry, I am doing refactoring in spikecomparison. You made the commit onspikeextractors, so no worry. I thought you made it in spikecomparison.

0reactions
colehurwitzcommented, Sep 13, 2019

I see. Well I think @samuelgarcia can fix this issue in his refactoring (as you mentioned).

I am glad that our package is working well for you! We really appreciate your feedback and we hope to make it more polished in future versions. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sampling Rate doesn't match power consumption - MSP low ...
I've changed the sampling rate with the values: 6, 10, 25, 50 and 100 Hz and the consuption didn't change. Using FLOW ESI...
Read more >
PsychPortAudio only lets me use sampling frequency 48000
i.e., trying to set up to play sound at sampling frequency (fs) 2210 over 6 ... Failed to open PortAudio audio device due...
Read more >
FAQ — TSFEL 0.1.4 documentation
Therefore, if you have access to the sampling rate, it is a good practice to pass the correct value. ... Does TSFEL work...
Read more >
7 Questions About Sample Rate - Sweetwater
There are a couple of reasons that higher sampling rates can be advantageous; the first is that while 44.1kHz is the standard for...
Read more >
fft, problem in determining sampling frequency - MathWorks
it works, but it doesn't make sense. because I can change the frequency axis's magnitudes! and the y axis (Amplitude spectrum) is constant......
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