Skip to main content

Solar Radiative Transfer non-LTE forward-modeling code.

Project description

SolRaT

SolRaT (Solar Radiative Transfer) is a flexible forward modeling code for non-LTE transfer of radiation in stellar atmospheres.

The code provides a three-level framework for modeling radiative transfer:

  1. Public API allows to run built-in RT models. Currently, SolRaT ships the non-LTE multi-term atom model (LL04) with multiple constant-slab atmosphere stratification.
  2. Modeling API allows to extend existing models or create completely new ones.
  3. SolRaT Engine introduces a meta-language that allows the user to write a human-readable code that directly resembles the underlying the mathematical equations. The user does not need to focus on code optimization, as it is handled under the hood.

Key Features:

  • Physics: Solves non-LTE radiative transfer for multi-term atoms.
  • Magnetic Fields: Handles arbitrary magnetic field strengths (Zeeman, Hanle, Paschen-Back effects).
  • Atmosphere: Supports multi-slab atmospheres for height stratification.
  • Flexibility: Provides a high-level meta-language allowing for writing code that directly resembles the underlying mathematical equations.
  • Accessibility: SolRaT is free, open-source, and platform-independent.
  • Performance: SolRaT uses high-performance libraries that leverage SIMD instruction sets.
  • Extensibility: A clear Modeling API allows for quick prototyping and model adjustments for specific contexts.

How to run:

  1. Install SolRaT from PyPi: pip install solrat
  2. Explore the demos and tests for usage examples.
  3. Explore the documentation.

Citing:

SolRaT is currently in beta testing. Journal article is pending and the detailed documentation is under development. In the meantime, if SolRaT has found use in your research, please cite it as

Yakovkin I. I. SolRaT (2023) [computer software]. Retrieved from https://www.yakovkinii.com/solrat/

References:

[LL04] Landi Degl’Innocenti, E., & Landolfi, M. 2004, Polarization in Spectral Lines (Dordrecht: Kluwer)

Keywords:

Non-LTE, Stokes Profiles, Inversion, Synthesis, Paschen-Back, Hanle, Zeeman, Magnetic Fields, Sun, Solar Atmosphere, Radiative Transfer, Polarization, Spectral Lines, Two-Term Atom Model

Copyright (2023) Ivan I. Yakovkin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solrat-0.9.14.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solrat-0.9.14-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file solrat-0.9.14.tar.gz.

File metadata

  • Download URL: solrat-0.9.14.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for solrat-0.9.14.tar.gz
Algorithm Hash digest
SHA256 1582ab3e79cac20ad3d1925a9f61dca2837c883322556cdb61eddb0e6243c188
MD5 0aec797596d8cd3b9e937d9679997a1f
BLAKE2b-256 e93cd4de077430dcf1b1b4bb531e3923a9a62a0c6cf9c29050b46e8a2c60e4d0

See more details on using hashes here.

File details

Details for the file solrat-0.9.14-py3-none-any.whl.

File metadata

  • Download URL: solrat-0.9.14-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for solrat-0.9.14-py3-none-any.whl
Algorithm Hash digest
SHA256 621fc2527466199f5ed3d25c429e47e57e728d5c0db6d7a660beb390bcb3261d
MD5 02cc9350d9bd7c54508b04050246a34d
BLAKE2b-256 a901b4962aab15a26038b4102bfff753e7b65b32e7e1857afb6ec89eaab6db9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page