-
Notifications
You must be signed in to change notification settings - Fork 0
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
Analog Clock and _Data - save after decimated to 10 KHz #117
Comments
This will be depend on the analog clock used the ONI context during running of the workflow I believe. If you go to the OnixHardware sub-workflow you can expose this property from the |
Yeah, I tried that before but failed, I still feel like a Bonsai novice. |
Ah sorry should have been more explicit, if you expose the output as you're doing in the image and hold down Alt when you click it will drop it in a new branch that won't break the workflow. |
Cool, makes sense. It is indeed 250 MHz, for both the system and acq clock. How do I change the acq clock? I looked at the documentation of ONI context but didn't manage to figure it out. |
I think the 250MHz is tied to the FPGA clock cycle for the ONIX board and can't be changed but I may be wrong in that, will look into whether it can be changed. Do you want to change the rate of analog input data collection? |
Yes please, even if not in hardware, is there an efficient way in Bonsai to downsample / average AnalogInput and AnalogClock and AnalogFrameCount to 10 kHz, which would be plenty and would save ~4 orders of magnitude disk space / load time / memory for analysis. |
You might be able to use Decimate from the Bonsai.Dsp package
…On Mon, Feb 24, 2025, 23:52 ederancz ***@***.***> wrote:
Yes please, even if not in hardware, is there an efficient way in Bonsai
to downsample / average AnalogInput and AnalogClock and AnalogFrameCount to
10 kHz, which would be plenty and would save ~4 orders of magnitude disk
space / load time / memory for analysis.
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWKJAKCO5PJDNJBUVTVT2D2RL2WTAVCNFSM6AAAAABXXG6LVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZYGA2TKMRRGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
[image: ederancz]*ederancz* left a comment (neurogears/vestibular-vr#117)
<#117 (comment)>
Yes please, even if not in hardware, is there an efficient way in Bonsai
to downsample / average AnalogInput and AnalogClock and AnalogFrameCount to
10 kHz, which would be plenty and would save ~4 orders of magnitude disk
space / load time / memory for analysis.
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWKJAKCO5PJDNJBUVTVT2D2RL2WTAVCNFSM6AAAAABXXG6LVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZYGA2TKMRRGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
… On Mon, Feb 24, 2025, 23:52 ederancz ***@***.***> wrote:
Yes please, even if not in hardware, is there an efficient way in Bonsai
to downsample / average AnalogInput and AnalogClock and AnalogFrameCount to
10 kHz, which would be plenty and would save ~4 orders of magnitude disk
space / load time / memory for analysis.
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWKJAKCO5PJDNJBUVTVT2D2RL2WTAVCNFSM6AAAAABXXG6LVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZYGA2TKMRRGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
[image: ederancz]*ederancz* left a comment (neurogears/vestibular-vr#117)
<#117 (comment)>
Yes please, even if not in hardware, is there an efficient way in Bonsai
to downsample / average AnalogInput and AnalogClock and AnalogFrameCount to
10 kHz, which would be plenty and would save ~4 orders of magnitude disk
space / load time / memory for analysis.
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWKJAKCO5PJDNJBUVTVT2D2RL2WTAVCNFSM6AAAAABXXG6LVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZYGA2TKMRRGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Great, thanks! Also of course analogData is not saved at 250MHz but at 100 kHz, I forgot that but it is apparent in the clock. |
Hi @robodoing,empirically it is 40 ns (or very close) units, to match the length of other recordings. Can you confirm this?
The text was updated successfully, but these errors were encountered: