Example #1
0
 def test_pr2_aspatial(self):
     obs = diagnostics_tsls.pr2_aspatial(reg)
     exp = 0.2793613712817381
     self.assertAlmostEquals(obs, exp)
Example #2
0
 def test_pr2_aspatial(self):
     obs = diagnostics_tsls.pr2_aspatial(reg)
     exp = 0.2793613712817381
     self.assertAlmostEquals(obs,exp)
Example #3
0
 def test_pr2_aspatial(self):
     obs = diagnostics_tsls.pr2_aspatial(reg)
     exp = 0.2793613712817381
     np.testing.assert_allclose(obs,exp, RTOL)