Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
2024 Rg Ls FF Op Splitting And Completion
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIT
IANM
AG Inverse Probleme
Software
2024 Rg Ls FF Op Splitting And Completion
Commits
58961f05
Commit
58961f05
authored
1 year ago
by
Lisa Schätzle
Browse files
Options
Downloads
Patches
Plain Diff
Update generateOmega.m
parent
74b8a1a2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/generateOmega.m
+13
-6
13 additions, 6 deletions
src/generateOmega.m
with
13 additions
and
6 deletions
src/generateOmega.m
+
13
−
6
View file @
58961f05
...
...
@@ -2,12 +2,19 @@ function [P_Omega, P_OmegaC] = generateOmega(OmegaTypes, nxhat, nd, params)
% Simulates projection operator corresponding to some missing data segment Omega.
%
% INPUT: OmegaTypes Cell-string-Array; possible strings are 'rectangle',
% 'constant_height', 'constant_width', 'random', 'random position constant size'
% nxhat - Number of observation directions/ rows
% nd - Number of illumination directions/ columns
% params - 5xlength(OmegaTypes) - array that specifies the
% shapes of the components of Omega
% INPUT: OmegaTypes Cell-string-Array, possible strings are 'rectangle',
% 'constant_height', 'constant_width', 'random',
% 'random position constant size'.
% nxhat Number of observation directions, i.e. rows.
% nd Number of illumination directions, i.e. columns.
% params Further specification of the shapes of the components of
% Omega, 5*nr_of_OmegaTypes-array.
% OUTPUT: P_Omega Projection operator corresponding to non-observable part Omega,
% nxhat*nd-array, only 0 and 1 entries, zero-matrix for splitting only.
% P_OmegaC Projection operator corresponding to observable part Omega^C,
% nxhat*nd-array, only 0 and 1 entries, one-matrix for splitting only.
%
% *************************************************************************************
[
~
,
nr_of_OmegaTypes
]
=
size
(
OmegaTypes
);
P_OmegaC
=
ones
(
nxhat
,
nd
);
for
iterk
=
1
:
nr_of_OmegaTypes
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment