mirror of
https://github.com/yosata/fourierOptics.git
synced 2026-10-29 20:51:10 +00:00
Added descriptions to all scripts, checked functioning
This commit is contained in:
1 parent
9ce4b7045f
commit
7cbaec6ff9
48 files changed
+262
-255
No files matched your search
@@ -6,9 +6,17 @@ from matplotlib.ticker import FormatStrFormatter
|
||||
from matplotlib.colors import LogNorm
|
||||
import time
|
||||
import sys
|
||||
sys.path.insert(0, '/Users/joost/Dropbox/Werk/PhD/Analyses/Python/Analytical/Fourier Optics')
|
||||
sys.path.insert(0, '/Users/joost/Dropbox/Werk/PhD/Documents/Published/FourierOptics GitHub release/')
|
||||
from fourierOptics import *
|
||||
|
||||
'''
|
||||
2022-08-02: I don't understand the relation between the name of this script
|
||||
and what happens within. It does seem to simulate a broadband PSF. And there's
|
||||
also a phaseTilt function defined. Probably, I was testing out small phase tilts
|
||||
to shift the PSF off-axis.
|
||||
'''
|
||||
|
||||
|
||||
def phaseTilt(x,y,tx,ty):
|
||||
phaseTilt = x * np.tan(np.deg2rad(tx)) + y * np.tan(np.deg2rad(ty))
|
||||
return phaseTilt
|
||||
|
||||
Reference in new issue
Block a user