Modular Python-based Code for Thomson Scattering System on NSTX-U

POSTER

Abstract

Fast accurate and reliable measurements of electron temperature and density profiles within magnetically confined plasmas are essential for full operation of fusion devices. We detail the design and implementation of a modular Pythonbased code for the Thomson Scattering diagnostic system of NSTX-U which offers improvements in speed by making full use of the Python's architecture, open-source module packages, and ability to be parallelized across many processors. SciPy's weave package allows the implementation of C/C++ code within our program to clear up bottlenecks in data fitting while not loosing the flexibility and clarity of Python, while Numpy and MatplotLib allow calculations and plotting of the processed data. Using the standard MDSplus input, we create a flexible and expandable algorithm structure which can be implemented on any fusion device utilizing polychromator-based Thomson scattering diagnostic system.

*Supported by DOE SULI Fellowship at Princeton Plasma Physics Lab.

Authors

  • Benjamin Horowitz

    • Yale University
  • Ahmed Diallo

    • Princeton Plasma Physics Laboratory
  • Eliot Feibush

    • Princeton Plasma Physics Laboratory
  • Benoit LeBlanc

    • Princeton Plasma Physics Laboratory