The Lightweaver Framework for NLTE Radiative Transfer in Python

Christopher M J Osborne, Ivan Milić
6/30/2021
astro-ph.IMastro-ph.SR

Official code: Goobley/Lightweaver (25 stars, Python, MIT, last commit 2026-11-18).

Abstract

Tools for computing detailed optically thick spectral line profiles out of local thermodynamic equilibrium have always been focused on speed, due to the large computational effort involved. With the Lightweaver framework, we have produced a more flexible, modular toolkit for building custom tools in a high-level language, Python, without sacrificing speed against the current state of the art.

Show full abstract

The goal of providing a more flexible method for constructing these complex simulations is to decrease the barrier to entry and allow more rapid exploration of the field. In this paper we present an overview of the theory of optically thick NLTE radiative transfer, the numerical methods implemented in Lightweaver including the problems of time-dependent populations and charge-conservation, as well as an overview of the components most users will interact with, to demonstrate their flexibility.

View on arXivView PDF

Code Implementations(1)

MIT

For the investigation of NLTE glowy stuff. A python framework for constructing solar NLTE radiative transfer simulations in one- and two-dimensional geometries, with an optimised C++ backend.

259Python, C++Sep 23, 20191 weeks agoMIT
formal-solversnltepythonradiative-transfersolar-physics

Similar Papers

Cite this paper

@article{osborne2021lightweaver,
  title  = {The Lightweaver Framework for NLTE Radiative Transfer in Python},
  author = {Christopher M J Osborne and Ivan Milić},
  year   = {2021},
  eprint = {2107.00475},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.00475}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.00475.svg)](https://codeofpaper.com/paper/2107.00475)

Discussion