def exp_trans(base=None, **kwargs):
<EOL>if base is None:<EOL><INDENT>name = '<STR_LIT>'<EOL>base = np.exp(<NUM_LIT:1>)<EOL><DEDENT>else:<EOL><INDENT>name = '<STR_LIT>'.format(base)<EOL><DEDENT>def transform(x):<EOL><INDENT>return base ** x<EOL><DEDENT>def inverse(x):<EOL><INDENT>return np.log(x)/np.log(base)<EOL><DEDENT>kwargs['<STR_LIT>'] = base<EOL>return trans_new(name, transform, inverse, **kwargs)<EOL>
Create a exponential transform class for *base*

This is inverse of the log transform.

Parameters
----------
base : float
    Base of the logarithm
kwargs : dict
    Keyword arguments passed onto
    :func:`trans_new`. Should not include
    the `transform` or `inverse`.

Returns
-------
out : type
    Exponential transform class