Spectrum fitting in separate thread
Documentation