Skip to content

Conversation

@thomasZen
Copy link

@thomasZen thomasZen commented Nov 14, 2025

When recording stimuli in higher resolution memory can become a bottleneck.
In the original implementation of the stimulus to numpy array conversion I did not care about memory.
I changed this now by doing most operations in-place and by setting the recordedStim array elements to None to free the memory as soon as one frame was processed.

The numpy array also gets stored in a numpy file now instead of in a pickle file (Jonathan preferred that I think).

Also writes an additional boolean numpy array indicating when the trigger/marker (would have) appeared during stimulus presentation.

@thomasZen thomasZen self-assigned this Nov 14, 2025
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 this pull request may close these issues.

2 participants