Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Numerical routines for working with spherical harmonic coefficients

Project Description

SpherePy

SpherePy is a package for working with scalar and vector spherical harmonics. It provides:

  • scalar and vector spherical harmonic decompositions
  • objects for algebraically manipulating coefficients
  • the ability to plot coefficients and patterns

Better Documentation

I’m working on a more complete set of documentation [HERE](http://www.direentech.com/docs/spherepy).

Install

Ubuntu: Before installing SpherePy you must install build-essential, python-dev, and NumPy

` $ sudo apt-get install build-essential python-dev `

For NumPy you need to decide if you want to build it yourself with

` $ sudo pip install numpy `

or download the package with

` $ sudo apt-get install python-numpy `

I have been building NumPy using the pip method, but it takes a long time.

Then you can

` $ sudo pip install spherepy `

Windows: Make sure you have Numpy on your machine, then

` $ pip install spherepy `

Plotting

If you would like to use the plotting routines within SpherePy, install matplotlib:

` $ sudo pip install matplotlib `

Quick Example

`python import spherepy as sp c = sp.random_coefs(4, 4) # generate some random coefficients sp.pretty_coefs(c) p = sp.ispht(c, 50, 50) # inverse spherical transform to pattern sp.plot_sphere_mag(p) # plot the magnitude of the pattern `

Contributing

Reporting bugs, suggesting features, helping with documentation, and adding to the code is very welcome. See [Contributing](CONTRIBUTING.md).

License

Copyright (C) 2015 Randy Direen <spherepy@direentech.com>. SpherePy is licensed under GNU General Public License, version 3, a copy of this license has been provided within the COPYING file in this directory, and can also be found at <http://www.gnu.org/licenses/>.

Release History

Release History

This version
History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
spherepy-0.0.9-cp27-none-win32.whl (59.4 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Jun 29, 2015
spherepy-0.0.9-cp27-none-win_amd64.whl (64.3 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Jun 29, 2015
spherepy-0.0.9-cp33-none-win32.whl (59.0 kB) Copy SHA256 Checksum SHA256 cp33 Wheel Jun 29, 2015
spherepy-0.0.9-cp33-none-win_amd64.whl (63.9 kB) Copy SHA256 Checksum SHA256 cp33 Wheel Jun 29, 2015
spherepy-0.0.9-cp34-none-win32.whl (59.0 kB) Copy SHA256 Checksum SHA256 cp34 Wheel Jun 29, 2015
spherepy-0.0.9-cp34-none-win_amd64.whl (63.9 kB) Copy SHA256 Checksum SHA256 cp34 Wheel Jun 29, 2015
spherepy-0.0.9.zip (110.8 kB) Copy SHA256 Checksum SHA256 Source Jun 29, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting