The CXSFIT spectral fitting code : past, present and future
Delabie, E. and O’Mullane, M. G. and von Hellermann, M. and Whiteford, A. and Horton, L. D. and Zastrow, K. D. and Menmuir, S. and Litherland-Smith, E. and Meigs, A. and Biewer, T. M. (2024) The CXSFIT spectral fitting code : past, present and future. Review of Scientific Instruments, 95 (8). 083536. ISSN 0034-6748 (https://doi.org/10.1063/5.0219427)
Text.
Filename: Delabie-etal-RSI-2024-The-CXSFIT-spectral-fitting-code.pdf
Final Published Version Restricted to Repository staff only until 19 August 2025. Download (5MB) | Request a copy |
Abstract
Magnetically confined plasma experiments generate a wealth of spectroscopic data. The first step toward extracting physical parameters is to fit a spectral model to the often complex spectra. The CXSFIT (Charge eXchange Spectroscopy FITting) spectral fitting code was originally developed for fitting charge exchange spectra on JET from the late 1980s onward and has been further developed over decades to keep up with the needs of the users. The primary use is to efficiently fit a large number of spectra with many constrained Gaussian spectral lines of which the physical parameters can be coupled in a user-friendly manner. More recent additions to the code include time-dependent couplings between parameters, flexible background subtraction, and a non-linear coupling scheme between fit parameters. The latter was a pre-requisite for implementing Zeeman and motional Stark effect multiplets in the library of spectral features. The ability to save and replay “fit recipes,” even when multiple iterations are required, has ensured the traceability of the results and is one of the keys to the longevity and success of the code. The code is also in use on other tokamaks (AUG, ST-40) and to fit data from other spectroscopic diagnostics on JET. In this paper, we document the current capabilities and philosophy behind the structure of the code, including some of the algorithms used to calculate spectral features numerically efficiently. We also provide an outline of how CXSFIT could be transferred into a framework that would be able to meet the spectral fitting requirements of future devices, such as ITER.
ORCID iDs
Delabie, E., O’Mullane, M. G. ORCID: https://orcid.org/0000-0002-2160-4546, von Hellermann, M., Whiteford, A., Horton, L. D., Zastrow, K. D., Menmuir, S., Litherland-Smith, E., Meigs, A. and Biewer, T. M.;-
-
Item type: Article ID code: 90398 Dates: DateEvent1 August 2024Published30 July 2024Accepted17 May 2024SubmittedSubjects: Science > Physics Department: Faculty of Science > Physics Depositing user: Pure Administrator Date deposited: 28 Aug 2024 14:39 Last modified: 01 Oct 2024 15:23 Related URLs: URI: https://strathprints.strath.ac.uk/id/eprint/90398