lens_maker module

class lens_maker.Lens_maker(lattice, height, widths=False)

Bases: object

Generate the new phase mask in S4

normalize_phase()

Normalized phase calculation

paralle_run_s4(ww)

Runs the S4 and returns the response

plot_mask()

plot the mask

remove_weak_transmission()

only adds points with high transmission

run_s4(ww, lat, height)

Runs the S4 and returns the response

save_mask()

save as the mask

sweep()

This functions runs for different widths

lens_maker.plot_results()
lens_maker.single_S4(wdth, lat, hght)