powered by
Distance weighting for non-linear earthquake location.
DistWeight(dist, err, distwt) DistWeightLL(lat, lon, elat, elon, err, distwt) DistWeightXY(x, y, ex, ey, err, distwt)
vector of weights
distance in km
sigma error in seconds
distance weighting parameter
Latitude
Longitude
Event Latitude
Event Longitude
station X(km)
station Y(km)
event X (km)
event Y (km)
Jonathan M. Lees<jonathan.lees@unc.edu>
Based on Lquake scheme from University of Washington. If you need to reduce the effect of distance weighting, increase distwt.
Since the hypocenter moves between each iteration, the distance weighting is updated.
DistWeight(1:10, .4, 20)
Run the code above in your browser using DataLab