Skip to main content

Python Space Physics Environment Data Analysis

Project description

Logo

pyRFU

License Python PyPi Format Wheel Status Downloads ScrutinizerBuild ScrutinizerQuality Commits Issues Readthedocs Gitter

The Python package pyrfu is a software based on the IRFU-MATLAB library to work with space data, particularly the Magnetospheric MultiScale (MMS) mission.

It is distributed under the open-source MIT license.

Full documentation can be found here

Instalation

The package pyrfu has been tested only for Mac OS.

Using PyPi

pyrfu is available for pip.

pip install pyrfu

From sources

The sources are located on GitHub:

https://github.com/louis-richard/irfu-python

  1. Clone the GitHub repo:

Open a terminal and write the below command to clone in your PC the pyrfu repo:

git clone https://github.com/louis-richard/irfu-python.git
cd pyrfu
  1. Create a virtual env

pyrfu needs a significant number of dependencies. The easiest way to get everything installed is to use a virtual environment.

  • Anaconda

You can create a virtual environment and install all the dependencies using conda with the following commands:

pip install conda
conda create -n pyrfu
source activate pyrfu
  • Virtual Env

Virtualenv can also be used:

pip install virtualenv
virtualenv pyrfu
source pyrfu/bin/activate
  1. Install the package via the commands:

python setup.py install

5) (Optional) Generate the docs: install the extra dependencies of doc and run the setup.py file:

pip install pyrfu
python setup.py build_sphinx

Once installed, the doc can be generated with:

cd doc
make html

Dependencies

The required dependencies are:

Testing dependencies are:

Extra testing dependencies:

Usage

To import generic space plasma physics functions

from pyrfu import pyrf

To import functions specific to MMS mission

from pyrfu import mms

To import plotting functions

from pyrfu import plot as pltrf

Configuration

Default configuration settings for MMS data (i.e data path) are stored in pyrfu/mms/config.json and can be changed at anytime using mms.db_init(local_path_dir).

Credits

This software was developped by Louis RICHARD (louisr@irfu.se) based on the IRFU-MATLAB library.

Acknowledgement

Please use the following to acknowledge use of pyrfu in your publications: Data analysis was performed using the pyrfu analysis package available at https://github.com/louis-richard/irfu-python

Additional Information

MMS Science Data Center: https://lasp.colorado.edu/mms/sdc/public/

MMS Datasets: https://lasp.colorado.edu/mms/sdc/public/datasets/

MMS - Goddard Space Flight Center: http://mms.gsfc.nasa.gov/

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrfu-2.3.15.tar.gz (9.0 MB view details)

Uploaded Source

Built Distribution

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

pyrfu-2.3.15-py3-none-any.whl (323.1 kB view details)

Uploaded Python 3

File details

Details for the file pyrfu-2.3.15.tar.gz.

File metadata

  • Download URL: pyrfu-2.3.15.tar.gz
  • Upload date:
  • Size: 9.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for pyrfu-2.3.15.tar.gz
Algorithm Hash digest
SHA256 08857b33e84d8268ad31176d3259513355757bf600b0729bddd6b18cdc1c86ee
MD5 1e99ee15012e12e68721eb191b48d559
BLAKE2b-256 d12475cc4c484fdfee7076fa9278efa3e460b16eb651664e4ba34775237870f9

See more details on using hashes here.

File details

Details for the file pyrfu-2.3.15-py3-none-any.whl.

File metadata

  • Download URL: pyrfu-2.3.15-py3-none-any.whl
  • Upload date:
  • Size: 323.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for pyrfu-2.3.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f40d78ec8f0a08146c4a1fa1367e7dada7bc7f87cfa18c9ecbde1b0dd5597a6f
MD5 1eb7d190a786c076c393f35aacc5e915
BLAKE2b-256 9161f5743e3624e927e1aa25d0c252984bd1ad04c3d556bb2312233eea2f400c

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