Sampling rate Cyton + Daisy in UNITY

ihgumilarihgumilar Auckland

Hi Friends,
I am using 16 channels. It says that it gives 125 Sampling rate.
However, when I opened the csv file, it only gives me 50 samples per second. Fyi, I am currently using LSL4UNITY. I am wondering should anyone here has an issue like this before ?

Thanks

Comments

  • wjcroftwjcroft Mount Shasta, CA

    However, when I opened the csv file, it only gives me 50 samples per second.

    The Daisy sample rate is indeed 125 Hz. Cyton with 8 channels only, is 250 Hz. Have you tried a test using just the 8 channels?

    Daisy samples that are streamed over Bluetooth, are processed in a special way:

    https://docs.openbci.com/docs/02Cyton/CytonDataFormat#16-channel-data-with-daisy-mdule

    In general, LSL streaming is not getting as much support as streaming with direct calls to the appropriate Brainflow library. I also believe there are already other Unity programmers using Brainflow. Which you could find on the Slack.

    https://brainflow.org/

    Regards, William

  • I think it is related to the number of frame rate per second. I am now recording the EEG separately instead of streaming the data into UNITY. It gives me 220 sampling rate for 16 channels.... How can it be possible ?
    I am using brainflow now

    Thanks

  • I still don't get it. After I read the link above. I know that the sampling rate in Cyton is constant for 250 hz, but because of the buffering then it may get a bit lower the moment it arrived in GUI/Hub. I am not using GUI. I just don't understand since you mentioned that for 16 channels, the sampling rate is 125. Why is the sampling rate that I have got is higher than what you mentioned ?

  • wjcroftwjcroft Mount Shasta, CA

    Please re-read the previous link. Sample rate at Cyton is CONSTANT. May differ very slightly from 250.0000 Hz. For example may be 250.0234 Hz. But that is constant and does not change.

    What you are seeing as different rate, is due to buffering of samples in the serial usb driver, OS, app, etc.

    If you are using Brainflow, then samples are received in that library. The 'Hub' referred to in the previous link is no longer used.

  • So, referring to 125 Hz. Should I only take the first 125 samples in my data that can be considered for analysis?

  • wjcroftwjcroft Mount Shasta, CA

    I don't quite understand your question. You can select any sample range you wish. Usually EEG samples are correlated with some external environment condition. So you are tracking how the EEG responds to the external situation change.

    Sometimes this is done with "external trigger". When the timing has to be very tight and exact, for example P300. But usually the timing constraints are not that exacting. And synchrony with external situation can be measured to the closest second or tenth of a second.

Sign In or Register to comment.