pahfit
pahfit copied to clipboard
Threading/parallelism in fitting spectra?
It's very common now to PAHFIT hundreds or more spectra over and over, from large samples to spectral cubes. This can get slow. Optimizers usually run on one processor. I wonder if there is a package or convenient way to farm fits out on multiple threads and then collect the results back together?
So the user could say "here are 1000 different spectra I need to (re)-fit", and it would thread them out appropriately and fit them simultaneously. I suspect JWST will have this issue in spades.