Development of a real-time algorithm for detection of the divertor detachment radiation front using multi-spectral imaging. (5th May 2020)