Skip to content

Commit ce3bbab

Browse files
Apply suggestions from code review
Thanks Marco Co-authored-by: marcobarilari <[email protected]>
1 parent b59460e commit ce3bbab

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ git pull origin master
8383

8484
To work with a specific version, create a branch at a specific version tag number
8585
```bash
86-
# creating and checking out a branch that will be calle version1 at the version tag v0.0.1
86+
# creating and checking out a branch that will be called version1 at the version tag v1.0.0
8787
git checkout -b version1 v1.0.0
8888
```
8989

docs/00_index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CPP_PTB documentation
22

33
<!-- vscode-markdown-toc -->
4-
* 1. [the CFG gtructure](#theCFGgtructure)
4+
* 1. [the CFG structure](#theCFGstructure)
55
* 2. [Setting up keyboards](#Settingupkeyboards)
66
* 3. [functions descriptions](#functionsdescriptions)
77
* 4. [Annexes](#Annexes)
@@ -14,7 +14,7 @@
1414
/vscode-markdown-toc-config -->
1515
<!-- /vscode-markdown-toc -->
1616

17-
## 1. <a name='theCFGgtructure'></a>the CFG gtructure
17+
## 1. <a name='theCFGstructure'></a>the CFG structure
1818

1919
The `cfg` structure is where most of the information about your experiment will be defined.
2020

@@ -48,12 +48,12 @@ cfg.debug.smallWin = true; % open a small window and not a full screen window ;
4848
% cfg.text
4949
cfg.text.font = 'Courier New';
5050
cfg.text.size = 18;
51-
cfg.text.style = 1; ???
51+
cfg.text.style = 1; % bold
5252
5353
5454
%% -------------------------------------------------------------------------- %%
5555
% cfg.color
56-
cfg.color.background % [r g b] each in 0-255
56+
cfg.color.background = [0 0 0]; % [r g b] each in 0-255
5757
5858
5959
%% -------------------------------------------------------------------------- %%
@@ -95,7 +95,7 @@ cfg.aperture.type = 'none'; % 'bar', 'wedge', 'ring', 'circle'
9595
% cfg.audio
9696
cfg.audio.do = false; % set to true if you are going to play some sounds
9797
cfg.audio.pahandle
98-
cfg.audio.devIdx = [ ];
98+
cfg.audio.devIdx = [];
9999
cfg.audio.playbackMode = 1;
100100
cfg.audio.requestedLatency = 3;
101101
cfg.audio.fs 44800; % sampling frequency
@@ -184,4 +184,4 @@ It is composed of two parts:
184184
- the actual sandbox where to set your dynamic variables (the stimulation
185185
parameters) and the 'playground' where to develop the stimulation code
186186

187-
When you are happy with it, ideally you will move the vars in `setParameters.m` and the stimulation code in a separate function in `my-experiment-folder/subfun`. The code style and variable names are the same used in `cpp-lln-lab/CPP_PTB` github repo, therefore it should be easy to move everything in your experiment scripts (see the template that is annexed in `cpp-lln-lab/CPP_PTB`).
187+
When you are happy with it, ideally you will move the vars in `setParameters.m` and the stimulation code in a separate function in `my-experiment-folder/subfun`. The code style and variable names are the same used in `cpp-lln-lab/CPP_PTB` github repo, therefore it should be easy to move everything in your experiment scripts (see the template that is annexed in `cpp-lln-lab/CPP_PTB`).

docs/10_functions_description.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ where do you want to start buffering the responses).
154154
- It only reports presses on the keys of interest mentioned at initialization.
155155
- It **can** also check for presses on the escape key and abort if the escape
156156
key is part of the keys of interest.
157-
- flush: Empties the buffer of key presses in case you want to discard any
157+
- flush: empties the buffer of key presses in case you want to discard any
158158
previous key presses.
159-
- stop: Stops buffering key presses. You can still restart by calling "start" again.
160-
- release: Closes the buffer for good.
159+
- stop: stops buffering key presses. You can still restart by calling "start" again.
160+
- release: closes the buffer for good.
161161

162162
### 2.3. <a name='pressSpaceForme'></a>pressSpaceForme
163163

@@ -200,4 +200,4 @@ they are not in consecutive positions.
200200

201201
Given `baseConditionVector`, a vector of conditions (coded as numbers), this will
202202
create a longer vector made of `nbRepeats` of this base vector and make sure that
203-
a given condition is not repeated one after the other.
203+
a given condition is not repeated one after the other.

0 commit comments

Comments
 (0)