Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pbtoolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jesse Heckman
pbtoolbox
Commits
bdd9ad59
Commit
bdd9ad59
authored
Jan 29, 2019
by
Jesse Heckman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vPrime implement auditory stimulation
parent
85b805d8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
setups/vestibular chair/vPrime/core/experiment/block/trial/pb_vSetupTrial.m
...chair/vPrime/core/experiment/block/trial/pb_vSetupTrial.m
+8
-8
setups/vestibular chair/vPrime/core/experiment/pb_vRunExp.m
setups/vestibular chair/vPrime/core/experiment/pb_vRunExp.m
+1
-1
utilities/fileio/backup/pb_mountserver.m
utilities/fileio/backup/pb_mountserver.m
+1
-1
No files found.
setups/vestibular chair/vPrime/core/experiment/block/trial/pb_vSetupTrial.m
View file @
bdd9ad59
...
...
@@ -10,8 +10,6 @@ function [stim, cfg] = pb_vSetupTrial(stim,cfg)
%% Set TDT parameters
selled
=
strcmpi
({
stim
.
modality
},
'LED'
);
selacq
=
strcmpi
({
stim
.
modality
},
'data acquisition'
);
% seltrg = strcmpi({stim.modality},'trigger');
selsnd
=
strcmpi
({
stim
.
modality
},
'sound'
);
%% LED
...
...
@@ -69,16 +67,18 @@ function [stim, cfg] = pb_vSetupTrial(stim,cfg)
end
%% Sound
% [RP2tag1,RP2tag2,~,MUXind,MUXbit1,SpeakerChanNo] = GvB_SoundSpeakerLookUp(azrnd(ii),elrnd(ii),RP2_1,RP2_2,LedLookUpTable);
% GvB_MUXSet(RP2tag1,RP2tag2,MUXind,MUXbit1,'set');
if
any
(
selsnd
)
snd
=
stim
(
selsnd
);
nsnd
=
numel
(
snd
);
for
sndIdx
=
1
:
nsnd
%% FOR NOW I LEAVE THIS OUT!!
%pb_vSetSound(snd(sndIdx),cfg,'RZ6_1');
%% FOR NOW I LEAVE THIS OUT!!
sndsetup
=
cfg
.
lookup
(
snd
(
sndIdx
)
.
Z
+
1
,
2
:
4
);
switch
sndsetup
(
1
)
case
1
maxSamples
=
setSound
(
snd
(
sndIdx
),
cfg
,
'RP2_1'
);
case
2
maxSamples
=
setSound
(
snd
(
sndIdx
),
cfg
,
'RP2_2'
);
end
end
end
...
...
setups/vestibular chair/vPrime/core/experiment/pb_vRunExp.m
View file @
bdd9ad59
...
...
@@ -14,7 +14,7 @@ function pb_vRunExp(handles)
% load & read experiment
% set debug mode
debug
=
tru
e
;
debug
=
fals
e
;
% set handles
pb_setupShow
(
handles
);
...
...
utilities/fileio/backup/pb_mountserver.m
View file @
bdd9ad59
...
...
@@ -26,7 +26,7 @@ end
function
auth
=
getcredentials
(
srv
)
% obtains authentication credentials for server
doi
=
[
userpath
'.credentials'
];
doi
=
[
userpath
filesep
'.credentials'
];
if
~
isfolder
(
doi
);
mkdir
(
doi
);
end
fn
=
[
doi
filesep
srv
'.crd'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment