Giter Site home page Giter Site logo

h-k-stacking's Introduction

H-k-stacking

This repository contains software to perform H-k stacking of receiver functions (RF) to estimate crustal thickness and Vp/Vs ratio as in Zhu and Kanamori (2000).

-time_to_hk.c converts a single time-domain RF to an H-k-domain RF.

-hk_stacking.c performs stacking and normalization of multiple H-k-domain RF, and outputs a file containing H, Vp/Vs, and Amplitude which can be easily plotted.

-bootstrap.c computes standard error and correlation of the H-k stack via the bootstrap method.

REQUIREMENTS

-SAC library. Check the SAC manual (https://ds.iris.edu/files/sac-manual/) before compiling.

ARGUMENTS

time_to_hk [RF file] [output file] [minimum H] [maximum H] [minimum Vp/Vs] [maximum Vp/Vs] [P wave velocity] [weight1] [weight2] [weight3]

hk_stacking [output file] [H-k RF 1] [H-k RF 2] ... [H-k RF n]

bootstrap [output file] [H-k RF 1] [H-k RF 2] ... [H-k RF n]

******* Additional parameters to be set in time_to_hk.c as constants *******

MAX (maximum length of data)

HSTEP (resolution of H)

KSTEP (resolution of Vp/Vs)

RAYP (SAC header variable containing the ray parameter)

h-k-stacking's People

Contributors

parera-portell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.