Separated the core function that calculates equiv. width from main function --the latter should be the one invoked by the user. Fixed Python 3 compatibility issues. Added feature to save histogram PDF. Added input parameter to specify folder for output figures.
Separated the core function that calculates equiv. width from main function --the latter should be the one invoked by the user. Fixed Python 3 compatibility issues. Added feature to save histogram PDF. Added input parameter to specify folder for output figures.

munazzaalam/PHEW