Skip to main content

Python package destined for VLF antenna owners. It allows the detection of solar flare in real-time from ground-based VLF data and an estimate of the solar X-ray flux

Project description

Coverage Status pre-commit Code style: black

This is the most up-to-date version of the vlf4ions Python library, which is hosted on Codeberg. This library is designed for VLF-antenna owners. It allows the detection of solar flares in real-time from ground-based VLF data. An estimate of the solar X-ray flux from the Sun is also made possible.

Though it was designed with an AWESOME instrument in mind, it can be adapted to any type of VLF antennas, provided that both amplitude and phase measurements are available for any transmitter of interest.

Installation

To install the package, you can simply type in a virtual environment:

pip install vlf4ions

This should download the more recent version.

Another way to install the package is to go to Release at the top of the page and download the latest version. In the zip or tar.gz folder, you should find a file ending in .whl. In a terminal, write

pip install file_in_.whl

Note that sometimes we also implement new features or fix some bugs, but this version is not yet released (usually before it doesn't differ enough from the previous one.) In this case, you can download these stable sub-version from the Tags page. The differences between each versions are outlined in the CHANGELOG file

Testing

To test the entire package, you can run (when you are in the top folder)

pytest

This is the minimal version to check that all tests are passed. If, however, you're developping your own branch of the repository, or if you want the coverage report, run:

pytest --cov=vlf4ions --cov-report=xml:reports/coverage/coverage.xml
coverage html
genbadge coverage -o reports/coverage/coverage-badge.svg

This will create a full coverage report and a badge to display the new coverage

Documentation

The documentation may be found here.

Contributing

Any feedback or contribution is very welcome. Please use pull requests to contribute to this package, or directly open an issue if you notice that something is wrong or can be enhanced.

Any question may also be sent to me by email if needed, or by pinging me on Codeberg.

Acknowledgements

Many thanks to Pierre-Yves Martin and Xavier Bonnin for their help with the licence and all other aspects of publishing an open-source project. This project really would have taken much longer to deploy if not for their advice !

Citing

If you use this library in a scientific context, please cite the paper 'Real-time detection of solar flares from ground-based data' by P. Teysseyre, C. Briand and M. Cohen. As of now (January 2026), it is still in review.

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

vlf4ions-1.3.6.post3.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

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

vlf4ions-1.3.6.post3-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file vlf4ions-1.3.6.post3.tar.gz.

File metadata

  • Download URL: vlf4ions-1.3.6.post3.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for vlf4ions-1.3.6.post3.tar.gz
Algorithm Hash digest
SHA256 83439f9214133a7c8900ae97d04231f3f5669c2665c57fcfc3baa424fc331379
MD5 1a370abf655c5c1272edc7524f36510c
BLAKE2b-256 b0dea81f919bf7543f3b33b93cfe30618384aeaf2cba93fcddbd508b7d5c8072

See more details on using hashes here.

File details

Details for the file vlf4ions-1.3.6.post3-py3-none-any.whl.

File metadata

  • Download URL: vlf4ions-1.3.6.post3-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for vlf4ions-1.3.6.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 8232aca7535382489a55a7bab0d35768701b1165654147f47aab9a48a22b269f
MD5 86a066af0d3a5a95823bcc373f5e6aa3
BLAKE2b-256 443d7ffc7229caaecc154e9c69e845ab37654a970c217d3fd63ff8c2fc82b687

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