Maser4py submodule to plot radio data
Project description
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:
jupyter
for Jupyter notebook supportspacepy
for CDF data format support (note that this requires the CDF library)all
to 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.
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
Built Distribution
File details
Details for the file maser_plot-0.3.3.tar.gz
.
File metadata
- Download URL: maser_plot-0.3.3.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f86814ae3cce5c34db2fe9c75f07971e0a74bf2551fefb1bb3658b534efb281 |
|
MD5 | 2c9707efd8975f7596ab716ea4d62abe |
|
BLAKE2b-256 | 5240deb59e7c17fdea997fca614d6da101c7fbb7dd08e369acff55ab4ff6d875 |
File details
Details for the file maser_plot-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: maser_plot-0.3.3-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0019e45f9d1d1ff771e5771d5888868b0193074ed46b39d426f35864f6801189 |
|
MD5 | 87d6b85bc1800d7170faff5f0270f3e7 |
|
BLAKE2b-256 | 3e4badf9ec9b3a84b0bae614f5a8b12f7deb99c1e9d7e3cc4d117b1d291c9672 |