Code Monkey home page Code Monkey logo

sunpy's Introduction

Latest Version Build Status Build status codecov Research software impact DOI Powered by NumFOCUS

SunPy is an open-source Python library for solar physics data analysis. See sunpy.org for more information about the project.

For some examples of using SunPy see our gallery.

Installation

The recommended way to install SunPy is with conda. To install SunPy once conda is installed run the following two commands:

$ conda config --append channels conda-forge
$ conda install sunpy

If you want to develop SunPy you will need to install from git. The best way to do this is to create a new conda environment and install the git version of SunPy in it:

$ conda config --append channels conda-forge
$ conda create -n sunpy-dev python sunpy hypothesis pytest-mock
$ source activate sunpy-dev
$ conda remove sunpy
$ git clone https://github.com/sunpy/sunpy.git sunpy-git
$ cd sunpy-git
$ pip install -e .

For detailed installation instructions, see the installation guide in the SunPy docs.

Usage

Here is a quick example of plotting an AIA image:

>>> import sunpy.map
>>> from sunpy.data.sample import AIA_171_IMAGE
>>> aia = sunpy.map.Map(AIA_171_IMAGE)
>>> aia.peek()

Getting Help

For more information or to ask questions about SunPy, check out:

Contributing

Open Source Helpers

If you would like to get involved, start by joining the SunPy mailing list and check out the Developer’s Guide section of the SunPy docs. Stop by our chat room #sunpy:matrix.org if you have any questions. Help is always welcome so let us know what you like to work on, or check out the issues page for the list of known outstanding items.

For more information on contributing to SunPy, please read our contributing guide or the Newcomers guide.

Code of Conduct

When you are interacting with the SunPy community you are asked to follow our Code of Conduct.

sunpy's People

Contributors

cadair avatar ehsteve avatar fmayer avatar khughitt avatar nabobalis avatar danryanirish avatar derdon avatar ayshih avatar dpshelio avatar pritishc avatar aringlis avatar punyaslok avatar bsipocz avatar gunner272 avatar solardrew avatar rhewett avatar alex-ian-hamilton avatar kaichogami avatar mattearnshaw avatar nitinkgp23 avatar ankitkmr avatar prateekiiest avatar dstansby avatar mdmueller avatar sudk1896 avatar haathi avatar cyclingninja avatar yashkgp avatar abit2 avatar m-charlton avatar

Watchers

James Cloos avatar Ritiek Malhotra avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.