Git Product home page Git Product logo

scikit-traveltime's Introduction

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
plt.ion()

#%% 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
  • 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

Copyright 2018 Thomas Mejer Hansen

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

scikit-traveltime's People

Contributors

ergosimulation avatar cultpenguin 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.