Skip to content

SeismicJulia/Seismic.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seismic.jl

Build Status

NOTICE:

With the update to julia version 1.0 and the new Pkg system, this package is inactive. You can still download and use this package, but consider instead using the new packages with updated modules

This module provides tools to read, write, and process seismic data. The documentation can be found here and here. 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("https://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.