I use rats and I was quite excited about the 2-wire cable, because I plan to do repeated 24-hour recordings in my rats
2 wires are (in theory at least) a lot more repairable than very thin 12-wire cables. The 12-pin omnetics plugs are extremely annoying for soldering.
I just want to run some spike detection code I made a while ago.
Instead of spikes I get a weird error. So now I need to update package 1, which requires updating package 2, 3, 4, 7, and 28, which in turn want a newer version of python (except package 9 which refuses to work now of course), so I also need to reinstall anaconda completely (fuck knows why the upgrade button never works)...
And of course none of that actually runs, so I need to figure out how to make things go in a docker container that is in turn wrapped in whatever the hell a singularity is?
@jonny@neuralreckoning@elduvelle@briansimulator I'm much more at home in matlab than in python, so it's very likely that I'm a pretty big factor in whatever mess my python scripts end up being. But I'd like to not have to wonder if a year-old script still works, or if something has become not-quite compatible in the mean time. Particularly this morning when I had planned to to many other things instead. Sigh.
I guess my mess was the flipside of having the version-flexibility/specificity in python that you don't have in matlab (at least not in the same way).
I've never really gotten along with docker, so I mostly just run different anaconda environments for now. I refuse to figure out singularity out of spite, for the moment.
@jonny@elduvelle I actually don't have a huge preference for matlab over python because of the software itself. It's really more based on my own skill.
The newer matlabs have a number of features that I absolutely despise (being able to edit the data directly without coding has to be some of the worst).
We're having a bit of a problem with assembling our #neuropixels assembly rig (specifically with the docking holder for the Apollo implant for NP1):
When we try to heat-insert the
brass threads, the walls of the holder holes keep cracking and breaking.
We use a 350C soldering iron, but we have one with a pretty small tip.
Are our brass inserts still too cold? Are we inserting too fast? Any ideas what we might be doing wrong?
@jonny
Maybe? Reinstalling the latest driver that was already installed seems to have fixed the problem with matlab. I have no idea why this was the magic time.
I now have 3 different matlabs, which is honestly embarrassing but I can learn to live with it.
What I want to do is look at some phase amplitude coupling between a cortical and hippocampal LFP across a pretty wide range of frequencies (0.5 - 140Hz). I'm basing it on Tort et al., J Neurophysiol 2010 (https://github.com/tortlab/phase-amplitude-coupling)
For each frequency bin, there is a filfilt step, followed by a Hilbert transformation to get phase or amplitude, and then I calculate a modulation index for each phase/amplitude bin. I am not sure if the whole method is just very inefficient, or if it will just take a long time to calculate because of my data where I repeat this for a lot of epochs.
@jonny My guess is that the soft tissue has shrunk due to the fixation method and that there is some kind of tumor.
I can check at the next coffee break