ajkerr0 / krombopulos

Optimization and machine learning routines.
0 stars 0 forks source link

Using scipy's genetic algorithm for fitting Raman spectroscopy data #1

Open zunzun opened 7 years ago

zunzun commented 7 years ago

I see from your GitHub project you are interested in Python genetic algorithms. The authors of scipy have added a genetic algorithm for initial parameter estimation in curve fitting, the module is named scipy.optimize.differential_evolution.

I have used scipy's Differential Evolution genetic algorithm to determine initial parameters for fitting a double Lorentzian peak equation to Raman spectroscopy data and found that the results were excellent. The GitHub project, with a test spectroscopy data file, is:

https://github.com/zunzun/RamanSpectroscopyFit

If you have any questions, please let me know. I will be glad to help.

James Phillips

ajkerr0 commented 7 years ago

Thanks!