Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 2.35 KB

README.md

File metadata and controls

47 lines (39 loc) · 2.35 KB

Seismic.jl

Build Status

This module provides tools to read, write, and process seismic data. (The documentation can be found here and [here] (http://seismic.physics.ualberta.ca).). At the moment, it is updated and tested against Julia 0.6

Installation

To use this package you must first install the Julia programming language. Once you have Julia you can install the Seismic package by typing Pkg.add("Seismic") on the Julia command line and then run Pkg.checkout("Seismic") to stay updated to the last version in this repository.

Basic usage

Once you have installed the package you can type using Seismic to start using the functions. For example

using PyPlot, Seismic
run(`mkdir -p data`)
download("http://seismic.physics.ualberta.ca/data/616_79_PR.SGY", "data/616_79_PR.SGY")
SegyToSeis("data/616_79_PR.SGY", "data/616_79_PR.seis")
SeisWindow("data/616_79_PR.seis", "data/616_79_PR_2s.seis", key= ["t"], minval=[0.0], maxval=[2.0])
d, head, extent = SeisRead("data/616_79_PR_2s.seis")
extent.title = "Seismic plot example"
SeisPlot(d, extent, cmap="PuOr", wbox=9)

will produce this figure:

plot1

For developers: contributing to the package

If you want to fork the repository and contribute to Seismic.jl:

  • New at GitHub? These basic commands and this dictionary might help.
  • This tutorial provides the basics steps you need to follow in order to fork the main repository, change the source code in your forked repository, commit the changes, and make pull requests using GitHub.
  • For contributions to the package, please follow the general guidelines given here: Modifications.md.