Giter Club home page Giter Club logo

Comments (4)

sinanshi avatar sinanshi commented on June 9, 2024

I can do this, at least the case of empty file. Can you tell me in which file you want to check this HDR?

from load_data.

Jimbles avatar Jimbles commented on June 9, 2024

hi sinan! The HDR structure is something that is generated by sopen.m a function from the biosig toolbox. I will add it to the repo too. This HDR structure contains loads of info about the EEG file, which we then use to process the data. however when collecting data during experiments if you create an EEG data file (.bdf/.eeg) and then forget to hit record (which I have done 3 times this week), the header with the .bdf file is still written. So when you create the HDR structure using sopen, you still get a result which looks ok, but causes weird bugs further on.

At the moment, the HDR struct is used in ScouseTom_TrigReadChn and ScouseTom_TrigProcess.

I'll add examples of what I mean later, as it will be clearer then!

from load_data.

sinanshi avatar sinanshi commented on June 9, 2024

Good, I will wait for your update.

from load_data.

Jimbles avatar Jimbles commented on June 9, 2024

simple check for BDF or Brainvision file type, seems to be enough. Added check for filesize below 1Mb too

from load_data.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.