03/19/18, written by Harrison J.G.

'parameters.yaml' contains all variables that should need to be changed before computations of diffraction limited images. 

To establish points for ddfield calculation, run 'generate_points_for_field_calc.py' from the terminal, which will create the file 'points_for_field_calc.txt' which should be the ddfield.in file without the neccesary header. 

After running ddfield, place the ddfield.E file in this directory ('PSF_from_ddifeld') and run 'generate_PSF.py' which will only run properly in python 2.7 as currently written. This code will save the 2d image to a text file as currently written. 

Currently the code is not generalized for system orientation. The ddfield.E file expected (and created by 'generate_points_for_field_calculation') determins the optical axis to be the x-axis, which you will probably want orthogonal to the expected induced dipoles. 

The script calls modules from the Optics and field_formulas folders, as well as other standard python modules listed at the begging of the files.
None of these should be a problem if you have the Anaconda python installation or anything similar. 



