Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
irp
HoloTomoToolbox
Commits
bef31492
Commit
bef31492
authored
Sep 17, 2019
by
p.jhagema
Browse files
template for iterative projectors
parent
b8f50733
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions/phaseRetrieval/iterative/ProjectorTemplate.m
0 → 100644
View file @
bef31492
classdef
ProjectorTemplate
<
Projector
% PROJECTORTEMPLATE is the base to start your implementation of a new fancy
% projector
%
% ``obj = ProjectorTemplate(constraints, p, opts)``
%
% Parameters
% ----------
% Don't forget to comment what you did!
%
% Other Parameters
% ----------------
%
%
% Returns
% -------
%
% HoloTomoToolbox
% Copyright (C) 2019 Institut fuer Roentgenphysik, Universitaet Goettingen
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
properties
(
SetAccess
=
'private'
)
settings
end
methods
(
Static
)
function
defaults
=
defaultSettings
()
% settings defaults
defaults
.
dummy
=
0
;
end
end
% end static methods
methods
% constructor
function
obj
=
ProjectorTemplate
()
obj
.
settings
=
completeStruct
(
settings
,
obj
.
defaultSettings
());
end
%end constructor
% apply the projector and return error measure
function
[
x
,
errorVal
]
=
eval
(
obj
,
x
,
itNum
)
end
end
end
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment