summaryrefslogtreecommitdiff
path: root/stripeeraser.m
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-09-14 19:25:35 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2012-09-14 19:25:35 -0400
commit9bb2cdd954b963ecaac05cde8ebffff1b3e76ac2 (patch)
tree312acafd04f5df104ac55d1a1a9f4ea1881d0221 /stripeeraser.m
parentfb0d0af624c168f637d0af086338e06d2c35cafa (diff)
downloadbeam_profiler-9bb2cdd954b963ecaac05cde8ebffff1b3e76ac2.tar.gz
beam_profiler-9bb2cdd954b963ecaac05cde8ebffff1b3e76ac2.zip
typo fix in stripeeraser comments
Diffstat (limited to 'stripeeraser.m')
-rw-r--r--stripeeraser.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/stripeeraser.m b/stripeeraser.m
index 2ff6107..b48a5b4 100644
--- a/stripeeraser.m
+++ b/stripeeraser.m
@@ -5,11 +5,11 @@ for x=1:640
for y=1:480
d=sqrt((x-320)^2+(y-240)^2);
if d>radius %Outside the central frequency.
- if abs(immask(y,x))>max1*(10^(-filter)); %The filter works like a neutral desity filter.
+ if abs(immask(y,x))>max1*(10^(-filter)); %The filter works like a neutral density filter.
immask(y,x)=immask(y,x)*exp(-(d/radius)^2); %Erase the frequency of the stripes.
end;
end;
end;
end;
imfourier=immask;
-immask=ifft2(ifftshift(immask)); \ No newline at end of file
+immask=ifft2(ifftshift(immask));