Skip to content

Commit 95dd6bc

Browse files
authored
Merge pull request #921 from bachlab/typos
Typo corrections in function help text
2 parents 286065f + 8f8fb0a commit 95dd6bc

10 files changed

Lines changed: 18 additions & 18 deletions

src/pspm_convert_area2diameter.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
% [sts, channel_index] = pspm_convert_area2diameter(fn, options)
1111
% [sts, converted_data] = pspm_convert_area2diameter(area)
1212
% ● Arguments
13-
% * fn : a numeric vector of milimeter values
13+
% * fn : a numeric vector of millimeter values
1414
% * area : a numeric vector of area values (the unit is not important)
1515
% ┌───────options :
1616
% ├──────.channel : [optional][numeric/string] [Default: 'both']

src/pspm_convert_ecg2hb_amri.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function [sts, out_channel] = pspm_convert_ecg2hb_amri(fn, options)
22
% ● Description
33
% pspm_convert_ecg2hb_amri performs R-peak detection from an ECG signal using the steps
4-
% decribed in R-peak detection section of [1]. This function uses a modified version of
4+
% described in R-peak detection section of [1]. This function uses a modified version of
55
% the original amri_eeg_rpeak.m code that can be obtained from [2]. The modified version with a list
66
% of changes made is provided with PsPM in the amri_eegfmri directory.
77
% ● Format
@@ -24,7 +24,7 @@
2424
% │ Choose which signal will be used as the input to the core R-peak
2525
% │ detection steps.
2626
% │ (1) If 'ecg', filtered ECG signal will be used.
27-
% │ (2) If 'teo', Teager Enery Operator will be applied to the filtered
27+
% │ (2) If 'teo', Teager Energy Operator will be applied to the filtered
2828
% │ ECG signal before feeding it to R-peak finding part.
2929
% │ (3) If 'auto', the option that results in the higher maximal
3030
% │ auto-correlation will be used.

src/pspm_dcm.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
% │ only recommended for long inter-trial-intervals and
9494
% │ should be used with caution. In reference 2, this option
9595
% │ lead to worse quality of the trial-by-trial amplitude
96-
% │ estimation (potenetially due to overfitting the data
96+
% │ estimation (potentially due to overfitting the data
9797
% │ available to estimate the response function).
9898
% │ Default: 0.
9999
% ├─────.getrf: Only estimate response function, do not do trial-wise DCM.
@@ -104,7 +104,7 @@
104104
% │ progress trial-by-trial and consider this number of
105105
% │ trials into the future, until the last trial of a session.
106106
% │ If this parameter is larger than the number of trials in
107-
% │ a session, the entire sessin will be inverted at
107+
% │ a session, the entire session will be inverted at
108108
% │ the same time. In reference 2, this parameter (set to 2
109109
% │ or 3) had no impact on the quality of the estimation.
110110
% │ Unpublished data suggest that if a session with 24 trials

src/pspm_expand_epochs.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
% * expansion: A 2-element vector with positive numbers [pre, post]
1818
% ┌────────────options:
1919
% ├─────────.overwrite: Define if already existing files should be
20-
% │ overwritten. Default ist 2. (Only used if input
20+
% │ overwritten. Default is 2. (Only used if input
2121
% │ is epochs file.)
2222
% └────.channel_action: Channel action, add / replace existing data
2323
% data (default: add)

src/pspm_extract_segments.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@
3737
% ├────────────.length: Length of the segments in the specified 'timeunits'.
3838
% │ The default value is 10.
3939
% ├──────────────.plot: [0/1] Plot mean values (solid) and standard error of
40-
% │ the mean (dashed) will be ploted. Default is no plot.
40+
% │ the mean (dashed) will be plotted. Default is no plot.
4141
% ├────────.outputfile: Define filename to store segments. If is equal
4242
% │ to '', no file will be written. Default is 0.
4343
% ├─────────.overwrite: Define if already existing files should be
44-
% │ overwritten. Default ist 0.
44+
% │ overwritten. Default is 0.
4545
% ├───.marker_chan_num: Optional if timeunits are 'markers'. Channel
4646
% │ identifier for the marker channel. Default: first
4747
% │ marker channel in the file.
4848
% ├───────────.missing: allows to specify missing (e. g. artefact) epochs in the
4949
% │ data file. See pspm_get_timing for epoch definition;
5050
% │ specify a cell array for multiple input files. This
5151
% │ must always be specified in SECONDS. if method is
52-
% │ 'model', then this option overides the missing
52+
% │ 'model', then this option overrides the missing
5353
% │ values given in the model
5454
% │ Default: no missing values
5555
% ├────────.nan_output: ['screen', filename, or 'none'] Output

src/pspm_find_sounds.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
% of startle sounds for GLM-based analysis of startle eye blink data. The
66
% detected events are written into a marker channel.
77
% A sound is detected as event if it is longer than 10 ms, and events are
8-
% recognized as distinct if they are at least 50 ms appart. Various
8+
% recognized as distinct if they are at least 50 ms apart. Various
99
% options allow customizing the algorithm to specific experimental
1010
% settings. In particular, events can be constrained to be in the
1111
% vicinity of event markers, and/or a desired number of events can be
@@ -40,7 +40,7 @@
4040
% ├──────.mindelay : [number] Lower limit (in seconds) of the window in which
4141
% │ pspm_find_sounds will accept sounds as relating to a marker.
4242
% │ Default is 0 s.
43-
% ├──────────.plot : [0(default) or 1] Display a histogramm of the delays found and a plot
43+
% ├──────────.plot : [0(default) or 1] Display a histogram of the delays found and a plot
4444
% │ with the detected sound, the trigger and the onset of the sound
4545
% │ events. These are color coded for delay, from green (smallest
4646
% │ delay) to red (longest). Forces the 'diagnostics' option to true.
@@ -73,7 +73,7 @@
7373
% ● Outputs
7474
% * channel_index : index of channel containing the processed data
7575
% ┌───────────info
76-
% ├───.snd_markers : vector of begining of sound sound events
76+
% ├───.snd_markers : vector of beginning of sound events
7777
% └────────.delays : vector of delays between markers and detected sounds. Only
7878
% available with option 'diagnostics' turned on.
7979
% ● History

src/pspm_find_valid_fixations.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
% ● Description
33
% pspm_find_valid_fixations finds deviations from a specified gaze
44
% fixation area. The primary usage of this function is to improve
5-
% analyis of pupil size. Pupil size data will be incorrect when gaze is
5+
% analysis of pupil size. Pupil size data will be incorrect when gaze is
66
% not in forward direction, due to foreshortening error. This function
77
% allows excluding pupil data points with too large foreshortening. To do
88
% so, it acts on one (or two) pupil channel(s), together with the
@@ -34,7 +34,7 @@
3434
% * bitmap : A nxm matrix of the same size as the display, with 1
3535
% for valid and 0 for invalid gaze points. IMPORTANT: the bitmap has to
3636
% be defined in terms of the eyetracker coordinate system, i.e.
37-
% bitmap(1,1) must correpond to the origin of the eyetracker
37+
% bitmap(1,1) must correspond to the origin of the eyetracker
3838
% coordinate system, and must be of the same size as
3939
% the display.
4040
% * circle_degree : Size of boundary circle given in degree visual angles.

src/pspm_process_illuminance.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
% [or directly specify ldata as a vector].
2323
% * sr: Sample rate in Hz of the input illuminance data.
2424
% ┌────────options
25-
% ├────────────.fn: [filename] Ff specified ldata{i,j} will be saved to a file
25+
% ├────────────.fn: [filename] If specified ldata{i,j} will be saved to a file
2626
% │ with filename options.fn{i,j} into the variable 'R'.
2727
% ├─────.overwrite: [logical] (0 or 1)
2828
% │ Define whether to overwrite existing output files or not.

src/pspm_split_sessions.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
% first session and the end of the last session.
1313
% In addition, the function can split a (missing) epochs file associated
1414
% with the original PsPM file to the same limits.
15-
% The individual session dat will be written to new files with a suffix
15+
% The individual session data will be written to new files with a suffix
1616
% '_sn' and the session number.
1717
% ● Format
1818
% [sts, newdatafile, newepochfile] = pspm_split_sessions(datafile, options)
@@ -45,7 +45,7 @@
4545
% │ file. Markers within the suffix period will be dropped.
4646
% ├───────.randomITI : [default:0]
4747
% │ Tell the function to use all the markers to evaluate the mean
48-
% │ distance between them. Usefull for random ITI since it reduces
48+
% │ distance between them. Useful for random ITI since it reduces
4949
% │ the variance.
5050
% ├─────────.verbose : [default:1] printing processing messages.
5151
% └─────────.missing : Optional name of an epoch file, e.g. containing a missing epochs

src/pspm_tam.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
% ├.std_exp_cond: [optional] allows to specify the standard experimental condition
4646
% │ as a string or an index in timing.names.
4747
% │ if specified this experimental condition will be
48-
%substracted from all the other conditions.
48+
%subtracted from all the other conditions.
4949
% │ DEFAULT: 'none'
5050
% └───.norm_max: [optional] set the first peak at 1 before model fitting.
5151
% DEFAULT: 0 (not normalize)

0 commit comments

Comments
 (0)