mirror of
https://github.com/yosata/fourierOptics.git
synced 2026-10-29 20:51:10 +00:00
21 lines
615 B
Python
21 lines
615 B
Python
import numpy as np
|
|
import sys
|
|
sys.path.insert(0, '/Users/joost/Dropbox/Werk/PhD/Documents/Published/FourierOptics GitHub release/')
|
|
from fourierOptics import *
|
|
import matplotlib.pyplot as plt
|
|
|
|
'''
|
|
Description:
|
|
This script generates the amplitude and phase information of all surfaces
|
|
in the MICADO paraxial model in a nicely presented form.
|
|
'''
|
|
|
|
if __name__ == '__main__':
|
|
plt.rc('font', family='serif')
|
|
plt.rc('axes', labelsize='large')
|
|
|
|
# Initiate MICADO paraxial model
|
|
mcd = ParaxialMICADO()
|
|
|
|
# Generate the PSF and plot it
|
|
E, x, y = mcd.propagate(l=1.35e-3,surface=-1, zoom=True, show=True, save='all') |