From 58961f05f61e2aafe65d0244f076f85ec6d7b693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lisa=20Sch=C3=A4tzle?= <lisa.schaetzle@kit.edu> Date: Thu, 11 Jan 2024 09:03:41 +0000 Subject: [PATCH] Update generateOmega.m --- src/generateOmega.m | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/generateOmega.m b/src/generateOmega.m index c0df53c..686e6fb 100644 --- a/src/generateOmega.m +++ b/src/generateOmega.m @@ -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 -- GitLab