Skip to main content

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 support
  • spacepy for CDF data format support (note that this requires the CDF library)
  • nenupy for NenuFAR data products support
  • 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 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

maser-plot-0.2.4.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

maser_plot-0.2.4-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file maser-plot-0.2.4.tar.gz.

File metadata

  • Download URL: maser-plot-0.2.4.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Darwin/21.6.0

File hashes

Hashes for maser-plot-0.2.4.tar.gz
Algorithm Hash digest
SHA256 cc2b6077c2c46b31a27f67893d64322a312cd3a43fdb987cab701e138c579ed4
MD5 3a026b9824b67f64e4f11373eda16c9f
BLAKE2b-256 320d9a6921a1242ccfcbd206c5c8e146cf64c02897ee30f4f6af57daa88a13df

See more details on using hashes here.

File details

Details for the file maser_plot-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: maser_plot-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Darwin/21.6.0

File hashes

Hashes for maser_plot-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0064c1a2ef3cb24d89b1106807bbe97af4a1190b1595c01209fd1f8b74aad48e
MD5 40e63351d4920e9827f94020dbd1da51
BLAKE2b-256 6dc459a69ef0982ac5693a7874c761195e366024e1e07300b729bfe321db12ac

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