-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFullModelFit.m
22 lines (21 loc) · 1 KB
/
FullModelFit.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
classdef FullModelFit < ModelFit
% Subclass of ModelFit that only fits a FullModel.
methods
function this = FullModelFit(model, x_names, OptionalArgs)
% See documentation for the constructor of ModelFit.
arguments
model FullModel
x_names string {mustBeVector,mustBeNonempty}
OptionalArgs.intercept logical = true
OptionalArgs.motion_covariate logical = true
OptionalArgs.covariates string {mustBeVectorOrEmpty} = []
OptionalArgs.nboot {mustBeNonnegative,mustBeInteger,mustBeScalar} = 1
OptionalArgs.subsamples {mustBeUnique,mustBeInteger,mustBeVector,mustBeNonnegative,mustBeNonempty} = [0]
OptionalArgs.show_progress logical = true
end
% Delegate to superclass constructor.
OptionalArgs = namedargs2cell(OptionalArgs);
this = this@ModelFit(model, x_names, OptionalArgs{:});
end
end
end