Description Usage Arguments Details Value Author(s) Examples

Distance weighting for non-linear earthquake location.

1 2 3 | ```
DistWeight(dist, err, distwt)
DistWeightLL(lat, lon, elat, elon, err, distwt)
DistWeightXY(x, y, ex, ey, err, distwt)
``` |

`dist` |
distance in km |

`err` |
sigma error in seconds |

`distwt` |
distance weighting parameter |

`lat` |
Latitude |

`lon` |
Longitude |

`elat` |
Event Latitude |

`elon` |
Event Longitude |

`x` |
station X(km) |

`y` |
station Y(km) |

`ex` |
event X (km) |

`ey` |
event Y (km) |

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.

vector of weights

Jonathan M. Lees<[email protected]>

1 | ```
DistWeight(1:10, .4, 20)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.