示例#1
0
 def test_profile_fast(self):
     test_phase = np.arange(0, 1, 1 / 16)
     prof = _profile_fast(test_phase, nbin=16)
     assert np.all(prof == np.ones(16))
示例#2
0
 def test_profile_fast(self):
     test_phase = np.arange(0, 1, 1/16)
     prof = _profile_fast(test_phase, nbin=16)
     assert np.all(prof == np.ones(16))