Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device channel specs #266

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Device channel specs #266

merged 2 commits into from
Feb 23, 2023

Conversation

lawhead
Copy link
Collaborator

@lawhead lawhead commented Feb 22, 2023

Overview

Set channel spec information in devices.json. Removed aliases.

Ticket

https://www.pivotaltracker.com/story/show/182849439

Contributions

  • Updated devices.json to include channel spec information.
  • Removed devices that were aliases.
  • Updated code that was using the alias devices.

Test

  • Ran unit tests and demos.
  • Ran an RSVP Calibration using streamed data.

@lawhead lawhead requested a review from tab-cmd February 22, 2023 18:08
Copy link
Contributor

@tab-cmd tab-cmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! This can be another ticket, but we should document these parameter files (devices.json and parameters.json) in the README and what changing/adding things to them might do. We mention things briefly in the core modules section, but I'm unsure I would understand what to do having read just that. Thanks for the updates

{ "name": "F7", "label": "F7", "units": "microvolts", "type": "EEG" },
{ "name": "PO8", "label": "PO8", "units": "microvolts", "type": "EEG" },
{ "name": "PO7", "label": "PO7", "units": "microvolts", "type": "EEG" },
{ "name": "Oz", "label": "Oz", "units": "microvolts", "type": "EEG" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that how LSL outputs it? "microvolts"? I'm okay with either but usually, I only see the abbreviation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the units that come across depend on what the adapter application sends. In this case, it's dsi2lsl that's writing these metadata values. See:

https://github.com/BciPy/dsi2lsl/blob/a94876c1977174d6257997f7f25d4138f11d7891/dsi2lsl.c#L343

@lawhead lawhead merged commit 09c6873 into 2.0.0rc3 Feb 23, 2023
@lawhead lawhead deleted the set-channel-specs branch February 23, 2023 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants