Skip to content

Commit

Permalink
update names
Browse files Browse the repository at this point in the history
  • Loading branch information
teddy.chao committed Aug 11, 2023
1 parent 8359d06 commit 72150d0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/pspm_convert_gaze_distance.m
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
end
sts = 1;
return
%% CODE SAME AS IN pspm_pixel2unit
%% CODE SAME AS IN pspm_convert_pixel2unit
function out = pixel_conversion(data, screen_length, interest_range)
length_per_pixel = screen_length ./ (diff(interest_range) + 1);
% baseline data in pixels wrt. the range (i.e. pixels of interest)
Expand Down
2 changes: 1 addition & 1 deletion src/pspm_ecg_editor.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
% [sts, R] = pspm_ecg_editor(pt)
% [sts, R] = pspm_ecg_editor(fn, channel, options)
% ● Arguments
% pt: A struct() from pspm_ecg2hb detection.
% pt: A struct() from pspm_convert_ecg2hb detection.
% fn: A file to data file containing the ecg channel to be edited
% channel: Channel id of ecg channel in the data file
% ┌──options: A struct() of options
Expand Down
6 changes: 3 additions & 3 deletions test/pspm_butter_test.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
classdef pspm_butter_test < matlab.unittest.TestCase
% ● Description
% unittest class for the pspm_hb2hp function
%Authorship
% unittest class for the pspm_butter function
%History
% (C) 2019 Ivan Rojkov (University of Zurich)
methods (Test)
function invalid_input(this)
Expand All @@ -18,4 +18,4 @@ function invalid_input(this)
this.verifyWarning(@() pspm_butter(1,1), 'ID:toolbox_missing');
end
end
end
end
4 changes: 2 additions & 2 deletions test/pspm_convert_ecg2hb_amri_test.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
classdef pspm_convert_ecg2hb_amri_test < pspm_testcase
% PSPM_ECG2HB_AMRI_TEST
% unittest class for the pspm_ecg2hb_amri function
% PSPM_CONVERT_ECG2HB_AMRI_TEST
% unittest class for the pspm_convert_ecg2hb_amri function
%__________________________________________________________________________
% PsPM TestEnvironment
% (C) 2019 Eshref Yozdemir (University of Zurich)
Expand Down
4 changes: 2 additions & 2 deletions test/pspm_filtfilt_test.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
classdef pspm_filtfilt_test < matlab.unittest.TestCase
% ● Description
% unittest class for the pspm_hb2hp function
% unittest class for the pspm_filtfilt function
% ● Authorship
% (C) 2019 Ivan Rojkov (University of Zurich)
methods (Test)
Expand All @@ -11,4 +11,4 @@ function invalid_input(this)
this.verifyWarning(@() pspm_filtfilt([1:10],[1:20],[1:10]), 'ID:invalid_input');
end
end
end
end

0 comments on commit 72150d0

Please sign in to comment.