About maser-plot
maser-plot is a submodule of maser4py.
It can be used with maser.data to plot radio data from the following missions:
- RPW/Solar Orbiter
Installation
To install the package, run the following command:
pip install maser-plot
or use one of the extra options:
jupyterfor Jupyter notebook supportspacepyfor CDF data format support (note that this requires the CDF library)allto install all the above
For example use maser-plot[jupyter,spacepy] if you want to use maser-plot with spacepy and jupyter notebooks:
pip install maser-plot[jupyter,spacepy]
Usage
See in examples folder about illustrations on how to use maser-plot.
Examples can also be run on Binder You can also launch a Binder environment and browse through the notebook examples.
Development
To contribute to the development of the package, you will need to install a local copy of maser-plot
git clone https://gitlab.obspm.fr/maser/maser4py.git
Then, you can install the package locally
Requirements
maser-plot requirements are detailed in the src/maser_plot/pyproject.toml file
poetry
To install the package, it is recommended to use poetry:
pip install poetry
CDF file format
To use maser-plot to read CDF files you have to install the CDF library and the spacepy.pycdf package.
Installing a local copy of maser-plot
Use the following command from src/maser_plot folder to install the package:
poetry install
or this one if you want to use maser-plot with spacepy to handle CDF files:
poetry install --extras "spacepy"
Tests
Use pytest -m "not test_data_required" to skip tests that require test data (and to skip auto download).
Manually publish maser-plot on pypi
To publish maser-plot with poetry you will have to build a dist package:
poetry build
And then publish the package on pypi (and/or on Gitlab, see https://python-poetry.org/docs/cli/#publish):
poetry publish
Commands above must be run from src/maser_plot directory.
Release files for maser-plot 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maser_plot-0.4.0.tar.gz | 19.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maser_plot-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.0 kB
Release files / maser_plot-0.4.0.tar.gz
| Download URL | maser_plot-0.4.0.tar.gz |
|---|---|
| Size | 19.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
538c24ed92e5994c9904f87dd5a162e0a96ce725ba7d5b6bb7fb6df02dbfcf3d
|
|
BLAKE2b-256 checksum How to use checksums |
639d72debb5672beb70c1621718fda3dbd94f0263b65261aedc34d345adb4ac6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.12.6 Darwin/24.3.0
|
Release files / maser_plot-0.4.0-py3-none-any.whl
| Download URL | maser_plot-0.4.0-py3-none-any.whl |
|---|---|
| Size | 34.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3576bf2ad273a4ac31f953fbef254b39a6f231d1fdb7951b99d75b705afeedf
|
|
BLAKE2b-256 checksum How to use checksums |
6aae6947dc937d3b947ee00444486ec28a41961ffbc86a593d49c4217d686b63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.12.6 Darwin/24.3.0
|