def compute_redundantinfo(self, tol=1e-6): '''Use provided antenna locations (in arrayinfoPath) to derive redundancy equations''' reds = self.compute_reds(tol=tol) reds = self.filter_reds(reds, bls=self.totalVisibilityId.keys(), ex_ants=list(self.badAntenna), ex_ubls=[tuple(p) for p in self.badUBLpair]) info = RedundantInfo() info.init_from_reds(reds, self.antennaLocation) return info