-
Notifications
You must be signed in to change notification settings - Fork 129
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
Generate manipulations struct from analogin channel #355
Comments
This all sounds good to me. Can option B use either an evt.sti file or an events.mat file? Where is this file generated? If it's just the output of collecting the data then an events.mat file isn't needed, as the info will be in the manipulation file. |
Check the functions bz_getAnalogPulses and bz_getDigitalIn to start
… On Oct 29, 2019, at 12:09 PM, Dan Levenstein ***@***.***> wrote:
This all sounds good to me. Can option B use either an evt.sti file or an events.mat file? Where is this file generated? If it's just the output of collecting the data then an events.mat file isn't needed, as the info will be in the manipulation file.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub <#355?email_source=notifications&email_token=ADHSQQ2R3DYFYJIWZNEIUPLQRBN4VA5CNFSM4JGLNWIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECRDKRI#issuecomment-547501381>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADHSQQZM7Z67Y7B4V3Q56BTQRBN4VANCNFSM4JGLNWIA>.
|
the issue is that you don't always know a priori when the different stimulations happen, you need to inspect you file and mark those moments (in neuroscope). You could make a matlab GUI and do the inspection like that, but we already have a fast working tool (neuroscope). Therefore I can make the tools for reading in some events.mat file but I will not make any script to generate such a file. |
@AntonioFR8 I have those scripts. they only work properly for one stim type (pulses) and they don't work if you maintain a non-zero bias voltage for a subset of the recording. for sines/Gaussians you will overestimate the timing of the start of the stimulus and underestimate its end |
Just to make sure I'm following - the .evt. file comes from manual tagging in neuroscope? No need to make a Matlab GUI that will probably be inferior to neuroscope anyway. |
@dlevenstein exactly |
when this file is done, will it serve all the purposes of bz_getAnalogPulses and bz_getDigitalIn? If so, those functions should be removed. Is it possible/easier to just modify one of those files and merge them together? |
it will call bz_getAnalogPulses under Mode A. and likely bz_getDigitalin if the user asks for this file type (there is only one stim type, and there is no offset). So I think this is a higher level script that should be used to standardize how we make a manipulations struct given input arriving from a variety of sources. |
one more note I am standardizing this output to mate with @petersenpeter 's cellexplorer, so his manipulation struct, which used the bare bones buzcode standard as its base, will now be our standard |
awesome. Can you make sure to document everything in the wiki |
I propose a function with the following capabilities
QUESTION: if you want to make this an automated batch script and populate the decription field which is fixed across experiments, there should be some way to do this (same for animal metadata) what do you propose?
The text was updated successfully, but these errors were encountered: