Skip to main content

Promweaver

C. Osborne (University of Glasgow) 2022

MIT License

A simple package demonstrating possible techniques for building on top of Lightweaver, but also helping to bridge the gap between chromospheric NLTE Radiative Transfer codes and those designed for isolated irradiated structures, such as prominences and filaments. Two of the main models: IsoPromModel and PctrPromModel are built on the ideas presented in the PROM code, but supporting the modern "Cone" boundary conditions described in Jenkins, Osborne & Keppens (2023). StratifiedPromModel provides the infrastructure to do the column-by-column (1.5D) modelling described therein.

Documentation

The documentation for Promweaver can be found here.

Migrating to Lightweaver 1.0

Promweaver now requires Lightweaver 1.0, which renames its public API to snake_case. Promweaver's iterate_se arguments follow suit (e.g. popsTol → pops_tol, NmaxIter → max_iter). The old names still work for now, but emit a LightweaverDeprecationWarning. Scripts can be updated automatically with:

python -m promweaver.migrate --inplace my_script.py my_analysis_dir/

(omit --inplace to preview the changes as a diff). The warnings can be silenced with lw.silence_deprecations().

Tests

The smoke tests run with pytest tests (a few minutes). If a change to the results is intended, regenerate the stored references with PW_REGEN_REFERENCES=1 pytest tests and commit tests/data/references.npz.

Acknowledgements

Many thanks for Jack Jenkins and Nic Labrosse for discussing the ideas and implementation of the techniques used in this package.

Metadata

Release files for promweaver 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for promweaver 0.6.0
File Size Uploaded Provenance Actions
promweaver-0.6.0.tar.gz 249.4 kB Without provenance Details for promweaver-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for promweaver 0.6.0
File Interpreter ABI Platform Actions
promweaver-0.6.0-py3-none-any.whl Python 3 none any Details for promweaver-0.6.0-py3-none-any.whl

Total release size: 284.4 kB

Release files / promweaver-0.6.0.tar.gz

Download URL promweaver-0.6.0.tar.gz
Size 249.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6b15036ed8bf1f50f589c1d69fbb3d41bfd03379c5b39dcb88220ff79fb0831d
BLAKE2b-256 checksum
How to use checksums
bd3953baad08c14d7063cc15a9e032d19b7c723c9da748d629f15fbbc97c3436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / promweaver-0.6.0-py3-none-any.whl

Download URL promweaver-0.6.0-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dce0833099d49990c18128f37729126546fc8b2d147a841fc6920c61a0229097
BLAKE2b-256 checksum
How to use checksums
1dc756214c1b66e96f93ceee6c0b950cf689ccc90092ae5358a61ba313feebca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for promweaver 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page