question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deymed TruScan montage file (.ced file)

See original GitHub issue

Hi guys, firstly, thanks again for mne which allowed me to successfully finish my PhD 🥇🎉

My new workplace has a 128 channels TruScan Deymed system, from which I’ve been trying to get usable data.

However, the montage is not supported natively by mne. The customer service sent me a .txt file (deymed_layout_128.txt), in which there are columns related to channel names, Phi, Theta, and x y z coordinates (attached). They also sent a .ced file, which contains the same info, which I cannot attach (but can send it via email).

Unfortunately, using the mne.channels.read_montage("deymed_layout_128", path = ".") doesn’t work:

mne.channels.read_montage("deymed_layout_128", path = ".")
Traceback (most recent call last):

  File "<ipython-input-22-265da416e197>", line 1, in <module>
    mne.channels.read_montage("deymed_layout_128", path = ".")

  File "C:\Users\Dom\Desktop\WPy-3710\python-3.7.1.amd64\lib\site-packages\mne\channels\montage.py", line 281, in read_montage
    pol = np.deg2rad(data[:, 1].astype(float))

ValueError: could not convert string to float: 'Fp1'

How can I read this montage? Thanks again!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
agramfortcommented, Sep 30, 2019

May I know if these fiducial points are information that I can obtain from the vendor (i.e., fixed values for the cap) or is it something acquired for each individual subject using, for instance, their MRI?

you can get it from template. You can also infer it from where the ears are on the cap.

see for example https://mne.tools/stable/auto_tutorials/source-modeling/plot_eeg_no_mri.html to see how it should look like on fsaverage.

And out of curiosity, why is the coordinates array specified as yxz (I would have expected xyz)?

it’s the convention of the head coord system in MNE. See: https://mne.tools/dev/auto_tutorials/source-modeling/plot_source_alignment.html#coordinate-frame-definitions

0reactions
DominiqueMakowskicommented, Sep 30, 2019

@agramfort Thanks!

May I know if these fiducial points are information that I can obtain from the vendor (i.e., fixed values for the cap) or is it something acquired for each individual subject using, for instance, their MRI?

And out of curiosity, why is the coordinates array specified as yxz (I would have expected xyz)?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TruScan EEG - DEYMED Diagnostic
TruScan family of EEG systems offers state of the art functionality for clinical ... The values are saved to the EEG file for...
Read more >
Operating User Manual for the Deymed Brainfeedback 3 System
The following user's manual will guide you through the functions and applications of the various software features. Deymed reserves the right to make...
Read more >
TruScan LT-RS EEG rev TSLTRS-BD211.pdf
The values are saved to the EEG file ... the TruScan Explorer Keyboard was developed to speed up and ... Visual drag and...
Read more >
DEYMED Diagnostic - Neurodiagnostic EEG, EMG, PSG ...
Deymed Diagnostic is manufacturer of innovative neurological medical devices with complete solution for EEG, EMG, TMS, PSG and neurofeedback.
Read more >
TruScan LT Neurofeedback - DEYMED Diagnostic
Featuring high sample rates, continuous on-line impedance monitoring and an intuitive user-friendly interface, the Deymed TruScan Neurofeedback is the only ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found