Skip to content

library of commonly used optical propagation functions

Notifications You must be signed in to change notification settings

sprangxl/optipropapy_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OPTI-PROPA-PY includes a list of functions for using fourier optics to propagate light fields.

Functions (optipropapy/optipropapy_functions.py) include:

GENERATE RANDOM DATA

gen_source_field

PROPAGATION FUNCTIONS:

fresnel_prop

fraunhofer_prop

rayleigh_sommerfeld_prop

fresnel_criteria

fraunhofer_criteria

convert_to_psf_otf

distort_and_focus

MASKING FUNCTIONS:

circ_mask

sq_mask

ZERNIKE PHASE SCREEN FUNCTIONS (Tabs indicate sub-functions):

zern_phase_scrn
    general_phase_screen
    atmos_phase_screen

generate_zern_polys
    zern_poly
        zern_indexes
        zrf

PHASE RETRIEVAL

gerschberg_saxton_phase_retrieve

DECONVOLUTION

maxlikelihood_deconvolution

known_psf_deconvolution

Test script (tests/optipropapy_tests.py) runs an example scenario using the functions in the library# optipropapy_lib