Skip to content

Commit

Permalink
IO: Import Curry channel files as LPS
Browse files Browse the repository at this point in the history
Reverts a2faeda
  • Loading branch information
rcassani committed May 30, 2024
1 parent 4b74b20 commit 27b162b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<body alink="#fff000" link="#fff000" vlink="#fff000">
<h4><span style="font-family: Arial Black; color: #ffffff;"><strong>THERE IS NO UNDO BUTTON!<BR>SET UP A <FONT color=red>BACKUP</FONT> OF YOUR DATABASE</strong></span></h4>
<HR>
<!-- LICENCE_START -->Version: 3.240529 (29-May-2024)<br>
<!-- LICENCE_START -->Version: 3.240530 (30-May-2024)<br>
<span style="font-style: italic;">COPYRIGHT &copy; 2000-2024
USC &amp; McGill University.<br>
</span>
Expand Down
2 changes: 1 addition & 1 deletion doc/version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
% Brainstorm
% v. 3.240529 (29-May-2024)
% v. 3.240530 (30-May-2024)
2 changes: 1 addition & 1 deletion toolbox/core/bst_get.m
Original file line number Diff line number Diff line change
Expand Up @@ -3784,7 +3784,7 @@
{'.tsv'}, 'EEG: BIDS electrodes.tsv, CapTrak space mm (*.tsv)', 'BIDS-CAPTRAK-MM'; ...
{'.els','.xyz'}, 'EEG: Cartool (*.els;*.xyz)', 'CARTOOL'; ...
{'.eeg'}, 'EEG: MegDraw (*.eeg)', 'MEGDRAW'; ...
{'.res','.rs3','.pom'}, 'EEG: Curry (*.res;*.rs3;*.pom)', 'CURRY'; ...
{'.res','.rs3','.pom'}, 'EEG: Curry, LPS (*.res;*.rs3;*.pom)', 'CURRY'; ...
{'.ced','.xyz','.set'}, 'EEG: EEGLAB (*.ced;*.xyz;*.set)', 'EEGLAB'; ...
{'.elc'}, 'EEG: EETrak (*.elc)', 'EETRAK'; ...
{'.sfp'}, 'EEG: EGI (*.sfp)', 'EGI'; ...
Expand Down
2 changes: 1 addition & 1 deletion toolbox/io/in_channel_curry_pom.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
case 'pos'
xyz = sscanf(read_line, '%f %f %f') / 1000;
ChannelMat.Channel(iChannel).Type = 'EEG';
ChannelMat.Channel(iChannel).Loc = [xyz(2); -xyz(1); xyz(3)];
ChannelMat.Channel(iChannel).Loc = [-xyz(2); xyz(1); xyz(3)];
ChannelMat.Channel(iChannel).Orient = [];
ChannelMat.Channel(iChannel).Comment = '';
ChannelMat.Channel(iChannel).Weight = 1;
Expand Down

2 comments on commit 27b162b

@rcassani
Copy link
Member Author

Choose a reason for hiding this comment

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

@chinmaychinara91, consider to export your Curry files as LPS instead of RAS

@chinmaychinara91
Copy link
Collaborator

Choose a reason for hiding this comment

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

@rcassani thanks for the update.

Please sign in to comment.