desihub / fastspecfit

Fast spectral synthesis and emission-line fitting of DESI spectra.
https://fastspecfit.readthedocs.org
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

multiprocess the initial line-masking #85

Closed moustakas closed 1 year ago

moustakas commented 1 year ago

The initial line-masking is done serially after the spectra are read, so it's a bottleneck. Multiprocess this step.

moustakas commented 1 year ago

Done in https://github.com/desihub/fastspecfit/pull/92/commits/f18245a95caebad5ca21ec6caa4b9792d52c4dfc.