Skip to main content

Traveltime computation using scikit-fmm

Project description

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)

  • 0.1.2: March 19, 2025 (depreceted use of interp2d, moved to pyproject.toml)

Copyright 2022 Thomas Mejer Hansen

See LICENSE (MIT) in the source directory.

Project details


Download files

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

Source Distribution

scikit_traveltime-0.1.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scikit_traveltime-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file scikit_traveltime-0.1.4.tar.gz.

File metadata

  • Download URL: scikit_traveltime-0.1.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for scikit_traveltime-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6a8a3df618c1e2edd74269e78318aab8be7bd10cc22aed3f29b125628bc8b2ee
MD5 893dd636c5c26b1add469dc2c3bda90a
BLAKE2b-256 a4b9d4a8259de4e9007ce929550e2712c188889ed43b0f3fe29acf8d18952623

See more details on using hashes here.

File details

Details for the file scikit_traveltime-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for scikit_traveltime-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8023e89ffea2d48a50e3cbab7264f642a56ee262071d5b3b79b2890e9c970851
MD5 7b80b3d67fb4213276754116fd8cb32f
BLAKE2b-256 83806e5122f1b5d408184a4b61b81a9db0dc817413d0252d156634618e5def2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page