Ejemplo n.º 1
0
 def test_scans_errors(self, obj, im):
     with pytest.raises(TypeError):
         get_maxima_matrix(im, scans=obj)
Ejemplo n.º 2
0
 def test_im_errors(self, obj):
     with pytest.raises(TypeError):
         get_maxima_matrix(obj)
Ejemplo n.º 3
0
 def test_points_errors(self, obj, im):
     with pytest.raises(TypeError):
         get_maxima_matrix(im, points=obj)
Ejemplo n.º 4
0
 def test_get_maxima_matrix(self, peak_list, im, tic):
     maxima_matrix = get_maxima_matrix(im)
     assert isinstance(maxima_matrix, numpy.ndarray)