Skip to content

Python script for estimating 1D velocity model using Genetic Algorithm.

Notifications You must be signed in to change notification settings

saeedsltm/PyGAVel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGAVel

Module for estimating 1D Velocity Model using Genetic Algorithm.

Summary:

Using this module you can calculate 1D velocity model. The method is based on Genetic Algorithm (GA) for finding the best model from the solution space. There are two objective functions (Hypoellipse, Hypo71) that you can choose according to your dataset and so on.

Requirements:

Usage [objective function = Hypoellipse]:

  • Copy the module "PyGAVel.py" in a working directory.
  • Copy "hypoell-loc.sh", "default.cfg", "hypoel.pha", "hypoel.prm", "hypoel.sta" and "fwd_problem.sh" files into working directory.
  • The executable file "hymain" is pre-compiled for Linux64x. You can use it in case you have problem with compiling the source code.
  • Copy "par.dat" into working directory and make changes in parameters if needed.
  • Run the module.

Hints:

  • I suggest you to create a directory and put the "hypoell-loc.sh", "hymain" and "fwd_problem.sh" into it. Add this directory's path to the PATH variable.
  • Set "GENSIZE" and "POPSIZE" parameters in "par.dat" file, not smaller than 150 to get more reliable results.
  • I suggest you to take a look at "Pyevolve" documentation using the following address, to get more familiar with GA algorithm and how it works (http://pyevolve.sourceforge.net/0_6rc1/).

About

Python script for estimating 1D velocity model using Genetic Algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published