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.3.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.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scikit_traveltime-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d42ef86882fefef544be231c0650f8fcdb0aa53c62df7d62937d9746f4d1d989
MD5 ca6ab04b7a8ac94ec7409612be8b8410
BLAKE2b-256 e965114de749a3ac475680d65f6369b444a571a2dd7106208ef7c24520b419df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scikit_traveltime-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4abecca042570bbd18341e689283a712466865f3fcd8aa13ca12eccd3d25efb1
MD5 f61c5de8b30cc02b879e539f48d624fd
BLAKE2b-256 8aefb87e23ff612d07a9da8f8b98a9b9a1343ced94e9e2ee41748ca2a3ce67e9

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