Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install scikit-fmm

How to install scikit-fmm

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install scikit-fmm
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.3
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
0.8 Available View build log
Windows (64-bit)
1.3
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
0.8 Available View build log
Mac OS X (10.5+)
1.3
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
0.8 Available View build log
Linux (32-bit)
1.3
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
0.8 Available View build log
Linux (64-bit)
1.3
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
0.8 Available View build log
 
Author
License
BSD
Dependencies
Imports
Lastest release
version 0.0.4 on Jan 9th, 2014

scikit-fmm is a Python extension module which implements the fast marching method.

The fast marching method is used to model the evolution of boundaries and interfaces in a variety of application areas. More specifically, the fast marching method is a numerical technique for finding approximate solutions to boundary value problems of the Eikonal equation:

F(x) | grad T(x) | = 1.

Typically, such a problem describes the evolution of a closed curve as a function of time T with speed F(x)>0 in the normal direction at a point x on the curve. The speed function is specified, and the time at which the contour crosses a point x is obtained by solving the equation.

scikit-fmm is a simple module which provides functions to calculate the signed distance and travel time to an interface described by the zero contour of the input array phi.

>>> import skfmm
>>> import numpy as np
>>> phi = np.ones((3, 3))
>>> phi[1, 1] = -1
>>> skfmm.distance(phi)
array([[ 1.20710678,  0.5       ,  1.20710678],
       [ 0.5       , -0.35355339,  0.5       ],
       [ 1.20710678,  0.5       ,  1.20710678]])
>>> skfmm.travel_time(phi, speed = 3.0 * np.ones_like(phi))
array([[ 0.40236893,  0.16666667,  0.40236893],
       [ 0.16666667,  0.11785113,  0.16666667],
       [ 0.40236893,  0.16666667,  0.40236893]])

The input array can be of 1, 2, 3 or higher dimensions and can be a masked array. A function is provided to compute extension velocities.

Documentation:
Release Version: http://packages.python.org/scikit-fmm Development Version: http://scikit-fmm.readthedocs.org/en/latest/

PyPI: http://pypi.python.org/pypi/scikit-fmm

Source Code: https://github.com/scikit-fmm/scikit-fmm

Requirements: Numpy and a C/C++ compiler (gcc/MinGW)

Bugs, questions, patches, feature requests, discussion & cetera:
Email list: http://groups.google.com/group/scikit-fmm Send an email to scikit-fmm+subscribe@googlegroups.com to subscribe.
Installing:
$ python setup.py install
Testing (doctest):
$ python -c "import skfmm; skfmm.test()"
Building documentation (required sphinx and numpydoc):
$ make html

Version History:

0.0.1: February 13 2012
Initial release
0.0.2: February 26th 2012
Including tests and docs in source distribution. Minor changes to documentation.
0.0.3: August 4th 2012
Extension velocities. Fixes for 64 bit platforms. Optional keyword argument for point update order. Bug reports and patches from three contributors.
0.0.4: October 15th 2012
Contributions from Daniel Wheeler:
  • Bug fixes in extension velocity.
  • Many additional tests and migration to doctest format.
  • Additional optional input to extension_velocities() for FiPy compatibly.
Copyright:Copyright 2012 The scikit-fmm team.
License:BSD-style license. See LICENSE.txt in the scipy source directory.

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.