Skip to main content

Solar Radiative Transfer non-LTE forward-modeling code.

Project description

SolRaT

[![](https://img.shields.io/badge/read-TheDocs-eee?logoColor=black)](https://solrat.readthedocs.io/latest/) [![](https://img.shields.io/badge/homepage-solrat-000000?logoColor=white)](https://www.yakovkinii.com/solrat/) ![](https://img.shields.io/badge/language-Python-3776AB?logoColor=white) ![](https://img.shields.io/github/license/henriquesebastiao/badges?style=flat&color=22c55e) ![](https://img.shields.io/pypi/v/solrat) ![](https://img.shields.io/badge/platform-Linux-ffffff?logoColor=black) ![](https://img.shields.io/badge/platform-macOS-000000?logoColor=white) ![](https://img.shields.io/badge/plarform-Windows-0078D6?logoColor=white) ![](https://img.shields.io/badge/coverage-90%25-0000ff)

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

The code provides a multi-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 highlights of SolRaT:

  • Non-LTE radiative transfer
  • Multi-term atom model allows for arbitrary magnetic fields
  • Multi-slab atmosphere model allows to explicitly model the atmospheric stratification
  • Flexible modeling API allows to adjust the physical model to specific problems
  • Platform-independent python implementation
  • Uses high-performance libraries (pandas, numpy) that leverage SIMD instruction sets

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.8.tar.gz (52.3 kB 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.8-py3-none-any.whl (66.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for solrat-0.9.8.tar.gz
Algorithm Hash digest
SHA256 d57aba96281aeff5d89aea55b274c4d1e720e625db37595f3ba294fdf031493c
MD5 7a01718112eb50bb4607af9673060d70
BLAKE2b-256 6d5e94d2516d41d8a3404b32ea258e08586e59f036e0ab76aa7f5d57d99950ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: solrat-0.9.8-py3-none-any.whl
  • Upload date:
  • Size: 66.4 kB
  • 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 73419a5d9a0c59b688d2d62ad86ba682b82630f810c9729fce6fe022ce60e3d1
MD5 d89b0a0961ca6ce0c8fef4d76bc089af
BLAKE2b-256 129b4893b81254b6d26a178e82f13cc0679c5b07e94427b2e349cb0d16078749

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