Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unwhitening of ops.fproc #270

Closed
LaurenzMuessig opened this issue Nov 8, 2020 · 3 comments · Fixed by #595
Closed

unwhitening of ops.fproc #270

LaurenzMuessig opened this issue Nov 8, 2020 · 3 comments · Fixed by #595

Comments

@LaurenzMuessig
Copy link

Hi,

How do I unwhiten the data in ops.fproc? If I do ops.fproc * (rez.Wrot/200)^-1 (as indicated in the wiki), and then transform to uV, I don't get realistic values for my data. Am I missing something or am I doing something wrong? Any help is appreciated.

Cheers

Laurenz

@marius10p
Copy link
Contributor

I think it's just ops.fproc * (rez.Wrot)^-1, since fproc has been rescaled to int16 values. Where in the wiki is this?

@LaurenzMuessig
Copy link
Author

LaurenzMuessig commented Nov 8, 2020

Hi Marius,

Thanks for the quick response. Sorry the '/200' isn't in the wiki, but I went though the pre-processing code and saw that Wrot is multiplied by 200 before the whitening step, so I thought this has to be factored in, too. Thanks for your help.

@LaurenzMuessig
Copy link
Author

Apologies for all these questions, but I have another related one. If my datas is already highpass-filtered and CAR'd and I skip this step in the data pre-processing for kilosort 2.5, I should probably skip this step as well for the calculation of the whitening matrix, right?

Cheers

Laurenz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants