def test(self, m=None, **kwargs):
        print 'Testing %s' % str(self)
        if m is None:
            m = abs(np.random.rand(self.nP))
        if 'plotIt' not in kwargs:
            kwargs['plotIt'] = False
        return checkDerivative(lambda m : [self * m, self.deriv(m)], m, num=4, **kwargs)
Test the derivative of the mapping.
dataset/ETHPy150Open simpeg/simpeg/SimPEG/Maps.py/IdentityMap.test