Giter Site home page Giter Site logo

blocks's Introduction

Blocks

Present-day deformation at plate boundary zones, recorded as GPS velocities, reflect the combination of plate motion and elastic strain accumulation. This suite of codes implements the block modeling methodology described by Meade and Loveless (2009), Block modeling with connected fault-network geometries and a linear elastic coupling estimator in spherical coordinates, Bulletin of the Seismological Society of America.

Blocks is designed for use with Matlab R2014b and later.

Documentation (evolving): https://docs.google.com/document/d/1AJheJrVqPX4yj2hbgysC-H2RkdkfkxvNJQIza1b3u34/edit?usp=sharing

To get started:

Run the following commands on the Matlab command prompt:

cd('~/MATLAB/Blocks') % Edit path to where you placed the Blocks directory
cd BlocksUtilities
blockspath % This function adds the Blocks subdirectories to your Matlab path

You can create a new template model directory structure using:

blocksdirs('~/MATLAB/Blocks/California') 
% Edit path to specify your project name; a new directory will be created if it doesn't exist

Then, edit the Blocks geometry files (.segment and .block) using SegmentManager:

cd ~/MATLAB/Blocks/California/command
SegmentManager
% Within SegmentManager, click "Load" under "Command file" and load 'model.command'. 
% Use SegmentManager tools to add and modify segment and block properties, saving 
% the geometry files to the ../segment and ../block directories

To run the analysis,

cd ../result
Blocks('../command/model.command')
% The results will be saved in a newly generated directory in the result directory

To view the results,

ResultManager
% Load a result directory. If you have more than one set of results, you can compare
% them by loading both a "Result directory" and "Compare directory"

SegmentManager interface:

alt tag

blocks's People

Contributors

jploveless avatar brendanjmeade avatar altmany avatar

Watchers

James Cloos avatar Andreas Mavrommatis 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.