Skip to content

Instantly share code, notes, and snippets.

View aadm's full-sized avatar

Alessandro Amato del Monte aadm

View GitHub Profile
@aadm
aadm / example_plot3dseis.py
Last active May 9, 2024 14:10
Python function to plot inline, crossline or horizontal slice from 3D seismic volume. Also included example showing how to load a 3D cube and display it.
import numpy as np
import matplotlib.pyplot as plt
import time
from obspy.io.segy.segy import _read_segy
# sample 3d cube from GOM, download here:
# https://walrus.wr.usgs.gov/namss/survey/b-05-88-la/
filename='G3D1304_005_L88_056_LN_1664-3428.sgy'
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@aadm
aadm / seismic_polarity_cartoons.py
Created August 4, 2016 09:29
Little Python script to create seismic polarity cartoons.
import numpy as np
import matplotlib.pyplot as plt
import bruges as b
def disegna_schemino(z, ai, wavelet,titolo):
f, ax = plt.subplots(nrows=1,ncols=2, figsize=(2,2),facecolor='w')
ax[0].plot(ai,z, '-k', lw=4)
ax[1].plot(wavelet, z, '-k', lw=2)
if colori:
ax[1].fill_betweenx(z,wavelet,0, where=wavelet>0, facecolor=[0.6,0.6,1.0], linewidth=0)
@aadm
aadm / old wellmagic.ipynb
Last active August 29, 2015 14:09
IPython notebook to show how to use Python, Pandas etc to do geophysics
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aadm
aadm / thoughts-d7000.md
Created July 31, 2012 15:48
Thoughts on the D7000

I don't really need to write anything you know, just read this - I feel exactly the same: http://photo.rwboyer.com/2012/04/15/some-good-things-D7000.

But hold on, let me add my 2 cents.

where I come from

Some context first; I arrived at the Nikon D7000 from a long apprenticeship.

I started with a Yashica FX-3 and its 50mm f/1.8, then I moved to a Nikon F70 (we're still in the ancient film era now). After a few crappy compact digital cameras (and one less crappy than others, the Canon G5) I got my first DSLR (a Nikon D70s) which was excellent until it broke down.