Documentation, type(x) == np.ndarray --> isinstance(x,np.ndarray), and Model (untested.)
Test Maps and Models