Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I io_trc
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tju-uba
  • io_trc
  • Issues
  • #1

Closed
Open
Created Oct 26, 2018 by Tomas Pastore@tpastoreOwner

Import error in Micromed Brain Quick software

I tried reading an .edf and writing it as TRC to do the import in Brain Quick. But the error below pops up.

error_al_importar_enBQ

The way I'm doing the conversion is specified in the attached file .py edfToTRC.py

Basically

  1. ReadEDF with mne
  2. Resample channels to 128 hz because BrainQuick only supports srates which are powers of two. Note: I tried both with and without resampling and I got the same import error so this step probably has nothing to do.
  3. Write TRC

At the same time, the most of the channels names were cut to be of 5 chars of length. I tried renaming the channels with the commented lines of the .py attached, but the same import error came out. However I think that the tolerance for channel name length is 15 instead of 5 chars, according to the warning in https://martinos.org/mne/dev/generated/mne.rename_channels.html?highlight=rename_channels#mne.rename_channels

Steps to reproduce:

  1. run edfToTRC.py 449_correct.edf, you can find the EDF in Brain Quick server. C:/EDFs/
  2. From Brainquick > tools > import> Exam
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking