def test_robbins(self): """robbins metric should match hand-calculated value""" c = array([1,2,3,0,1]) r = robbins(c) self.assertEqual(r,2./7)
def robbins(counts, **argv): return(alph.robbins(counts))