-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Due to my various needs, I would like there to be more flexibility available in aurora.radiation.get_local_spectrum(). I nominate myself to address these needs on appropriate branches to be reviewed by @fsciortino .
NOTE: In my efforts, I will be heavily relying on functions and data files from the Flexible Atomic Code (FAC, https://github.com/flexible-atomic-code/fac). This is because it can satisfy missing components to my needs not covered under OpenADAS. FAC may therefore become a hidden dependency when utilizing specific upgrades I need. Care would be taken for a more general user to have options to avoid this when possible.
Issue
Currently, only Doppler broadening is available for the line shape. I would like to convolute other shape due to other physics.
Motivation
- I would like to also include Natural broadening
- On SPARC, we are considering Kr, Xe as seeded impurities for Ti measurements per XICS as the current workhorse, Ar, will burn through at the high electron temperatures in a fusion reactor environment
- This comes with a drawback as the FWHM from Lorentzian Natural broadening scales ~Z^4
- How important this effect is depends on the specific transition you're considering due to the specific population mechanisms, i.e. if we consider the He-like seqeuence this is still irrelevant for the z line, but can be comparable to the FWHM from Doppler broadening at lower ion temperatures for the w line (which is also brighter). Similar observations have been made for the Ne-like sequence.
- We therefore wish to investigate how a Natural broadening component would impact Ti/vtor profile reconstructions on SPARC (per detector post-processing that will eventually be a dedicated module in ToFu)
- I might also include Instrumental broadening
- I use the ToFu synthetic diagnostic code (by D. Vezinet: https://github.com/ToFuProject/tofu, I understand you're familiar) which automatically convolutes instrumental broadening effects when performing the spectral-integration for the throughput to a pixel
- Similar to Natural broadening, we wish to investigate an Instrumental broadening component and the impact on Ti/vtor profile reconstructions on SPARC (per detector post-processing that will eventually be a dedicated module in ToFu)
- It may be useful for other users or for quick scoping to include a model for a Gaussian Instrumental broadening
- I would like to also include super-Gaussian features due to suprathermal ions
- On C-Mod, I am investigating potential observations of direct ICRF heating into the Ar impurity
- I am in the process of calculating what the RF-accelerated Ar energy distributions are
- We hypothesize that the energies reached are high enough to make a significant impact on the transport causing a significant drop in impurity density
- This might have a noticeable effect on the line shapes measured from XICS
- I would therefore like to explore this component when doing full spectra modeling, i.e. in ImpRad
- I would also like to explore the impact of suprathermal ions on the inferred ion temperature on C-Mod
Plan of Action
- The chunk of code in
aurora.radiation.get_local_spectrumthat calculates the Doppler broadening profile will be moved to a hidden sub-function - Similar hidden sub-functions will be created for other line spaces due to other physics
- A task manager would therefore obtain profiles from user-requested physics (units 1/AA), convolute them together, and then multiply the relevant PEC at a wavelength (units ph/cm3/s) hence yielding the local spectrum (units ph/cm3/s/AA)
- The default would be just do Doppler broadening to not perturb anyone else's workflows upon PR
- For Natural broadening
- I will be directly utilizing transition rates calculated by FAC and will likely use FAC's built-in file reading functions
- Alternatively for a general user, they should be able to directly give transition rates per wavelength to avoid a FAC dependency
- For Instrumental broadening
- I will likely be inputting values into a Gaussian model that were informed via ray-tracing with ToFu
- SPARC's XICS system is highly non-traditional as is evident in the spectral resolution maps so really ToFu ray-tracing is appropriate to properly model is effect
- As such, a general user would interact with this the same extent I would here via inputting parameters from an average spectral resolution map
- Maybe more sophistication would be implemented later, i.e. for C-Mod's XICS, as I am curious
- For suprathermal ions
- I am exploring calculating RF-acclerated ion energy distributions from a number of resources (ASCOT, TRANSP, TORIC+CQL3D via S. Frank's current work)
- In all cases, a user would likely need to directly provide a data file of the distribution or input parameters into an RF-tail model
@fsciortino any opinions?