Demo entry 6362734

thesis

   

Submitted by anonymous on May 10, 2017 at 10:17
Language: Python. Code size: 1.3 kB.

#!/bin/python
# -*- coding: utf-8 -*-

'''
        surfaceWaveRelocation.py version 2.4 (original 07 Mar, 2014)

                by Mike Cleveland

        Last edit: 28 Oct 2016 (KMC)
'''
##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~##
##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~##
import sys
# VM sys.path.insert(0, '/eqseis/Python/pySACio')
sys.path.insert(0, '/uio/lagringshotell/geofag/students/ceed/chrisgko/wilber7')

import pySACio_2 as ps
reload(ps)

import os
import glob
import h5py
import numpy as np
from numpy.fft import rfft, irfft
from math import degrees,radians,cos,sin,asin,atan2

import matplotlib.pyplot as plt
import matplotlib as mpl
mpl.rcParams['pdf.fonttype'] = 42       # Set font so it can be edited in Illustrator
mpl.rcParams['ps.fonttype'] = 42
mpl.rcParams['font.family'] = 'serif'
mpl.rcParams['font.sans-serif'] = ['Helvetica']

from copy import deepcopy
from scipy.linalg import lapack

import datetime

from obspy.geodetics import gps2dist_azimuth

import pickle

import pdb      # Debug with pdb.set_trace()

##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~##
##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~##

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).