pahfit icon indicating copy to clipboard operation
pahfit copied to clipboard

Threading/parallelism in fitting spectra?

Open jdtsmith opened this issue 6 years ago • 0 comments

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.

jdtsmith avatar Dec 04 '18 20:12 jdtsmith