Skip to content

Commit

Permalink
Fixed GridSearch.Force.py comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rmodrak committed Mar 27, 2024
1 parent 33e8c94 commit dbb2fc1
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions examples/GridSearch.Force.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,7 @@

if __name__=='__main__':
#
# Carries out grid search over 64,000 double couple moment tensors
#
# USAGE
# mpirun -n <NPROC> python GridSearch.DoubleCouple.py
#
# For a simpler example, see SerialGridSearch.DoubleCouple.py,
# which runs the same inversion in serial
#


#
# We will investigate the source process of an Mw~4 earthquake using data
# from a regional seismic array
# Carries out grid search over force orientation and magnitude
#

path_data= fullpath('data/examples/20210809074550/*[ZRT].sac')
Expand All @@ -40,7 +28,7 @@


#
# We are only using surface waves in this example. Check out the DC or FMT examples for multi-mode inversions.
# We are only using surface waves in this example. Check out the DC or FMT examples for multi-mode inversions
#

process_sw = ProcessData(
Expand Down Expand Up @@ -77,7 +65,7 @@


#
# Next, we specify the moment tensor grid and source-time function
# Next, we specify the force grid and source-time function
#

grid = ForceGridRegular(magnitudes_in_N=10**np.arange(9,12.1,0.1), npts_per_axis=90)
Expand Down

0 comments on commit dbb2fc1

Please sign in to comment.