Skip to content

Instantly share code, notes, and snippets.

@kinverarity1
kinverarity1 / wellpy.las.read_v1_2.ipynb
Created December 23, 2013 12:45
wellpy.las.read_v1_2 example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kinverarity1
kinverarity1 / bs.ipynb
Created October 12, 2013 08:27
warburton anisotropic 1d inversions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kinverarity1
kinverarity1 / broadsingle.ipynb
Created October 12, 2013 08:27
warburton anisotropic 1d inversions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kinverarity1
kinverarity1 / baby.ipynb
Created October 12, 2013 08:26
warburton anisotropic 1d inversions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kinverarity1
kinverarity1 / baby.ipynb
Created October 12, 2013 08:26
warburton anisotropic 1d inversions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kinverarity1
kinverarity1 / broadsingle.ipynb
Created October 12, 2013 08:20
Warburton 1D anisotropic inversions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kinverarity1
kinverarity1 / profile_tools.py
Created July 25, 2013 13:19
Functions for finding points and distances along multi-segment lines.
'''Functions for finding points and distances along multi-segment lines.
All angles are mathematical convention.
'''
import numpy as np
def distance(point1, point2):
'''Return distance between *point1* and *point2*.'''
@kinverarity1
kinverarity1 / loaded_modules.py
Last active June 3, 2020 13:05
List loaded Python modules and packages, and show their version numbers and/or Git repository's HEAD commit SHA. Example: http://nbviewer.ipython.org/6038316/zz_example.ipynb
'''List loaded modules and packages, and show their version numbers
and/or Git repository's HEAD commit SHA.
'''
# Standard library modules
import types
# Third-party packages
import git # GitPython