Skip to content

Commit 1687753

Browse files
committed
mh autofix
1 parent ff750e7 commit 1687753

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

src/drawFieldOfVIew.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% (C) Copyright 2020 CPP_PTB developers
22

33
function fov = drawFieldOfVIew(cfg, centerOnScreen)
4-
%
4+
%
55
% Draws a red rectangle on the screen to materialize the field of view of
66
% the participant. This can be used during debugging to help design the
77
% stimuli if you know the FOV of the participant will be obstructed by
@@ -11,14 +11,14 @@
1111
%
1212
% fov = drawFieldOfVIew(cfg, centerOnScreen)
1313
%
14-
% :param cfg:
14+
% :param cfg:
1515
% :type cfg: structure
16-
% :param centerOnScreen:
16+
% :param centerOnScreen:
1717
% :type centerOnScreen: boolean
1818
%
1919
% :returns: - :fov: (array) PTB rectangle
2020
%
21-
21+
2222
if nargin < 2
2323
centerOnScreen = true;
2424
end

src/utils/degToPix.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
%
1010
% structure = degToPix(fieldName, structure, cfg)
1111
%
12-
% :param fieldName:
12+
% :param fieldName:
1313
% :type fieldName: string
14-
% :param structure:
14+
% :param structure:
1515
% :type structure: structure
16-
% :param cfg:
16+
% :param cfg:
1717
% :type cfg: structure
1818
%
1919
% :returns: - :structure: (structure)

src/utils/pixToDeg.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% (C) Copyright 2020 CPP_PTB developers
22

33
function structure = pixToDeg(fieldName, structure, cfg)
4-
%
4+
%
55
% For a given field value in pixel in the structure,
66
% this computes its value in degrees of viual angle using the pixel per
77
% degree value of the cfg structure and returns a structure with an
@@ -12,11 +12,11 @@
1212
%
1313
% structure = pixToDeg(fieldName, structure, cfg)
1414
%
15-
% :param fieldName:
15+
% :param fieldName:
1616
% :type fieldName: string
17-
% :param structure:
17+
% :param structure:
1818
% :type structure: structure
19-
% :param cfg:
19+
% :param cfg:
2020
% :type cfg: structure
2121
%
2222
% :returns: - :structure: (structure)

src/utils/setDefaults.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
%
99
% structure = setDefaults(structure, fieldsToSet)
1010
%
11-
% :param structure:
11+
% :param structure:
1212
% :type structure: structure
13-
% :param fieldsToSet:
14-
% :type fieldsToSet: structure
13+
% :param fieldsToSet:
14+
% :type fieldsToSet: structure
1515
%
16-
% :returns: - :structure: (structure)
16+
% :returns: - :structure: (structure)
1717

1818
fieldsToSet = orderfields(fieldsToSet);
1919

src/utils/setDefaultsPTB.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
%
88
% cfg = setDefaultsPTB(cfg)
99
%
10-
% :param cfg:
10+
% :param cfg:
1111
% :type cfg: structure
1212
%
1313
% :returns: - :cfg: (structure)
14-
%
14+
%
1515

1616
if nargin < 1
1717
cfg = struct;

src/utils/setUpRand.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
% (C) Copyright 2020 CPP_PTB developers
33

44
function setUpRand()
5-
%
6-
% Resets the seed of the random number generator.
5+
%
6+
% Resets the seed of the random number generator.
77
% Will "adapt" depending on the Matlab / Otave version.
8-
%
8+
%
99
% USAGE::
1010
%
1111
% setUpRand()

0 commit comments

Comments
 (0)