Text this: Detecting edges of geological sources from gravity or magnetic anomalies through a novel algorithm based on the hyperbolic tangent function.