Skip to main content

Solar polarization resolver for any instrument

Project description

solpolpy

codecov CI PyPI version DOI

solpolpy is a solar polarization resolver based on Deforest et al. 2022. It converts between various polarization formats, e.g. from the native three triple version from observations (also known as the MZP convention) to polarization brightness (pB) and total brightness (B), Stokes I, Q and U, etc.

An example of transforming the polarization basis using the LASCO/C2 images is shown in the image below. The images at polarizing angles of -60°, 0° and +60° is shown in the top panel as Bm, Bz and Bp respectively. The bottom panel shows the output of the solpolpy to convert the initial basis to the Stokes I, Q and U. Example result image

Quickstart

pip install solpolpy

We recommend following along the examples in the documentation!

Getting Help

Please open a discussion or issue for help.

Contributing

We encourage all contributions. If you have a problem with the code or would like to see a new feature, please open an issue. Or you can submit a pull request.

If you're contributing code, please see this package's deveopment guide.

Code of Conduct

Access here

Citing

To cite the software please cite the version you used with the Zenodo citation.

Origin of the Name

solpolpy is just a combination of sol for solar, pol for polarization, and py for Python.

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

solpolpy-0.6.0.tar.gz (22.7 MB view details)

Uploaded Source

File details

Details for the file solpolpy-0.6.0.tar.gz.

File metadata

  • Download URL: solpolpy-0.6.0.tar.gz
  • Upload date:
  • Size: 22.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for solpolpy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8e92f296fb10928cf5d6e5d48aa451b7bc12a57d2ff8543b42a1bba2ba6bfc9b
MD5 e7f16f8701180105056099eddb444e98
BLAKE2b-256 68857de7b11afe7d0a6a29e9a44a0c0a47621b0fe462c1a91d41899a78886eee

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