Process EEG Signal #5

Closed
opened 2023-07-07 00:02:52 +00:00 by erin · 3 comments
Owner
  • Sample signal and push to ringbuffer
  • When filled, send buffer to queue
  • Process queue with FFT
  • Append to results Vec
- Sample signal and push to [ringbuffer](https://lib.rs/crates/ringbuffer) - When filled, send buffer to [queue](https://lib.rs/crates/crossbeam-queue) - Process queue with [FFT](https://lib.rs/crates/microfft) - Append to results `Vec`
erin added this to the CyberTail Prototyping project 2023-07-07 00:02:52 +00:00
Author
Owner
  • Random test data is pushed into buffer
  • Filled buffer is inserted into queue
  • Queue has test action performed on it

Due to issues with libraries, just a simple array is used for the buffer, and tinyvec is used for the queue.

- Random test data is pushed into buffer - Filled buffer is inserted into queue - Queue has test action performed on it Due to issues with libraries, just a simple array is used for the buffer, and [tinyvec](https://lib.rs/crates/tinyvec) is used for the queue.
Author
Owner

Embassy Channel is now being used as a queue, and greatly simplifies it.
Data still needs to be processed.

Embassy [Channel](https://docs.embassy.dev/embassy-sync/git/default/channel/struct.Channel.html) is now being used as a queue, and greatly simplifies it. Data still needs to be processed.
Author
Owner

Data is now processed to find a power spectrum (using example code), and should work as described by this Thinking Cap tutorial?

Again, must be tested to actually know for sure.
Additionally, I'm not sure if a low-pass filter or Hanning window needs to be used with the library.
Similarly, interrupts or something will likely need to be used in order to ensure sampling happens at a reliable rate.

Data is now processed to find a power spectrum (using example code), and should work as described by this [Thinking Cap](http://produceconsumerobot.com/thinkingcap/) tutorial? Again, must be tested to actually know for sure. Additionally, I'm not sure if a low-pass filter or Hanning window needs to be used with the library. Similarly, interrupts or something will likely need to be used in order to ensure sampling happens at a reliable rate.
erin closed this issue 2023-07-21 22:56:05 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: CyberTail/code#5
No description provided.