def test_Range(self): full_sw = mm.Range(self.df_tessellation, "area", self.sw, "uID").series assert full_sw[0] == approx(8255.372, rel=1e-3) area = self.df_tessellation["area"] full2 = mm.Range(self.df_tessellation, area, self.sw, "uID").series assert full2[0] == approx(8255.372, rel=1e-3) limit = mm.Range(self.df_tessellation, "area", self.sw, "uID", rng=(10, 90)).series assert limit[0] == approx(4122.139, rel=1e-3)
def time_Range(self): mm.Range(self.df_tessellation, "area", self.sw, "uID", (25, 75))