def test_find_Bmirror(self): expected = { 'Blocal': array([1031.05446706, 3451.97910165]), 'Bmirr': array([2495.32245887, 8354.35740488]) } for key in expected: numpy.testing.assert_almost_equal(expected[key], ib.find_Bmirror( self.ticks, self.loci, [40], omnivals=self.omnivals)[key], decimal=6)
def test_find_Bmirror(self): expected = { 'Blocal': array([1031.008992, 3451.98937]), 'Bmirr': array([2495.243004, 8354.355467]) } for key in expected: numpy.testing.assert_almost_equal(expected[key], ib.find_Bmirror( self.ticks, self.loci, [40], omnivals=self.omnivals)[key], decimal=6)
def test_find_Bmirror(self): expected = {'Blocal': array([ 1031.05446706, 3451.97910165]), 'Bmirr': array([ 2495.32245887, 8354.35740488])} for key in expected: numpy.testing.assert_almost_equal(expected[key], ib.find_Bmirror(self.ticks, self.loci, [40], omnivals=self.omnivals)[key], decimal=6)