Getting Started with pySPEDAS: Difference between revisions

From SPEDAS Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
This will install all required files. To test the installation, you can open a command prompt, type 'python' to start the python interpreter and then type:
This will install all required files. To test the installation, you can open a command prompt, type 'python' to start the python interpreter and then type:


<code>
<pre>
from pyspedas.examples.basic.ex_basic import ex_basic
from pyspedas.examples.basic.ex_basic import ex_basic
<br>


ex_basic()
ex_basic()
</code>
</pre>


Some cdf files will be downloaded and a plot will appear.
Some cdf files will be downloaded and a plot will appear.

Revision as of 22:31, 12 March 2020

Welcome to pySPEDAS

pySPEDAS is the SPEDAS software in the python programming language. It is currently in development (beta).


pySPEDAS releases


Install pySPEDAS

An easy way to install pyspedas is to install the latest Anaconda distribution:

And then open the anaconda prompt and type:

conda install -c spedas pyspedas

This will install all required files. To test the installation, you can open a command prompt, type 'python' to start the python interpreter and then type:

from pyspedas.examples.basic.ex_basic import ex_basic

ex_basic()

Some cdf files will be downloaded and a plot will appear.


Comparison of pySPEDAS vs SPEDAS

Comparisons