]> Creatis software - CreaPhase.git/blobdiff - SimuPBI_3WiresPhant_func.m
Readme file for custom objects
[CreaPhase.git] / SimuPBI_3WiresPhant_func.m
index 46b7eaf0bf53002f0cf4678277017481b7e3ca69..65b550ff0084a76b1b299495d63b7af294b1e371 100644 (file)
@@ -26,8 +26,9 @@
 
 function [] = SimuPBI_3WiresPhant_func (vers, oversamp, basename_output, dist, energy, ps, nbProj, range_angle, model_ctf, model_Fresnel, height, dir_out, noise_type, noise_amount)
 
-addpath('/users/lweber/Matlab/SimulationsPBI/CreaPhase/utilities_ESRF')
-addpath('/users/lweber/Matlab/SimulationsPBI/CreaPhase/utilities_LW')
+addpath('utilities_ESRF')
+addpath('utilities_LW')
+addpath(genpath('octave_packages'))
 
 ################################################
 ############### INPUT parameters ############### 
@@ -66,8 +67,15 @@ addpath('/users/lweber/Matlab/SimulationsPBI/CreaPhase/utilities_LW')
 %range_angle=180; 
 
 ## Which model do you want to use for the propagation? use 1 or 0
-%model_ctf=0;
-%model_Fresnel=1;
+## model_ctf refers to the Contrast Transfer Function propagation model. use 1 if you want to simulate propagation with the CTF model, or 0 otherwise.
+## should be equal to 0 or 1 
+% model_ctf = 1
+% model_ctf = 0
+
+## model_Fresnel refers to the Fresnel propagation model. Use 1 if you want to simulate propagation with the fresnel model, or 0 otherwise.
+## should be equal to 0 or 1 
+% model_Fresnel = 1
+% model_Fresnel = 0
 
 ################################
 ############# Parameters related to the object