scikit-traveltime

Traveltime computation using scikit-fmm


Keywords
traveltime, eikonal, fast-marching
License
MIT
Install
pip install scikit-traveltime==0.1.0

Documentation

scikit-traveltime: traveltime calculation using the fast marching method for Python

https://img.shields.io/pypi/v/scikit-traveltime.svg?style=flat-square https://img.shields.io/pypi/pyversions/scikit-traveltime.svg?style=flat-square https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
import numpy as np
import traveltime as tt

#%% CREATE REFERENCE VELOCITY MODEL
dx=0.1;
x = np.arange(-1,6,dx)
y = np.arange(-1,13,dx)
V=0.1*np.ones((len(y),len(x)))

#%% SET SOURCE AND RECEIVERS
S=np.array([[0,2],[0,5],[0,4]])
R=np.array([[5,12],[5,5],[5,1]])

t = tt.eikonal_traveltime(x,y,[],V,S,R)

Documentation

PyPI

<http://pypi.python.org/pypi/scikit-traveltime>

Requirements

  • numpy >= 1.0.2
  • scipy >= 1.0.0
  • scikit-fmm >= 1

Bugs, questions, patches, feature requests, discussion & cetera

  • Open a GitHub pull request or a GitHub issue

Installing

  • Via pip: pip install scikit-traveltime

Version History:

  • 0.0.1: July 1st, 2017
  • 0.0.4: January 3rd, 2017
  • 0.1.0: November 11, 2022 (cleanup)

Copyright 2022 Thomas Mejer Hansen

BSD-style license. See LICENSE.txt in the source directory.