Skip to content

kbedros9090/SpectralMatching

Repository files navigation

  1. Uses the Pandas library to read the csv files.
  2. Then, numpy is used to extract the data (1d array) because a list is no bueno
  3. Create a common grid, finding the biggest step so no fake details
  4. Interpolate the data by estimating the values between the data.
  5. Calculate the SAM which is the dot product
  6. Find the cosine similarity and normalization (linear).
  7. Plot the graph using matplotlib.

About

This script purpose is to compare reference spectra to spectra of a new photodiode using SAM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages