TANH gain limit
TANH args
Defines a hyperbolic tangent, or soft limiting, transfer function.
There is no corresponding capability in any SPICE that I know of, but you can get close with POLY.
For capacitors, this function defines charge as a function of voltage. For inductors, it defines flux as a function of current.
For fixed sources, it defines voltage or current as a function of time, which is probably not useful.
This function describes a hyperbolic tangent transfer function similar to what you get with a single stage push-pull amplifier, or a simple CMOS inverter acting as an amplifier.