コード例 #1
0
ファイル: spatial.py プロジェクト: IonSystems/pi-spectrometer
 def test_get_window_bounds_border(self):
     from spectral.algorithms.spatial import get_window_bounds
     assert(get_window_bounds(90, 90, 3, 7, 0, 2) == (0, 3, 0, 7))
コード例 #2
0
ファイル: spatial.py プロジェクト: IonSystems/pi-spectrometer
 def test_get_window_bounds(self):
     from spectral.algorithms.spatial import get_window_bounds
     assert(get_window_bounds(90, 90, 3, 7, 30, 40) == (29, 32, 37, 44))
コード例 #3
0
 def test_get_window_bounds_border(self):
     from spectral.algorithms.spatial import get_window_bounds
     assert (get_window_bounds(90, 90, 3, 7, 0, 2) == (0, 3, 0, 7))
コード例 #4
0
 def test_get_window_bounds(self):
     from spectral.algorithms.spatial import get_window_bounds
     assert (get_window_bounds(90, 90, 3, 7, 30, 40) == (29, 32, 37, 44))
コード例 #5
0
 def test_get_window_bounds_border(self):
     assert(get_window_bounds(90, 90, 3, 7, 0, 2) == (0, 3, 0, 7))
コード例 #6
0
 def test_get_window_bounds(self):
     assert(get_window_bounds(90, 90, 3, 7, 30, 40) == (29, 32, 37, 44))