This function reads a csv file containing columns of wavelength and absorbances. It rounds the wavelengths to integers and replaces the absorbances corresponding to the rounded values with their averages. NOTE THAT ALL THE csv FILES IN THE CURRENT DIRECTORY ARE PROCESSED AND REPLACED WITH THE MODIFIED FILEs. You should use this function on a copy of the directory.
The original files are overwritten with the modified files.
Bryan A. Hanson, DePauw University
gatherSpecFiles which is the function the user should
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.