PSPicker, a matlab tool for automatic phase picking and event location
View the Project on GitHub ChrisBail/PSPicker
Function made to remove phases that disturb the location, In fact it puts a weight of 4 for both P and S if exist, and recompute for each station