def test_005_basic_offset(self): """ With station heights """ st1 = Station.Station("ST1", llh=(171.0, -45.0, 10.0)) st2 = Station.Station("ST2", llh=(171.35, -44.82, 20.0)) obs = [] obs.append(AZ(st1, st2, insthgt=2.5, trgthgt=4.1)) obs.append(SD(st1, st2, insthgt=2.5, trgthgt=-4.1)) obs.append(ZD(st1, st2, insthgt=-2.5, trgthgt=4.1)) obs.append(LV(st1, st2, insthgt=-2.5, trgthgt=-4.1)) self.offsetStation(st2, [0.5, 1.0, -0.3]) net = Network.Network() net.addStation(st1) net.addStation(st2) adj = Adjustment.Adjustment(stations=net, observations=obs, verbose=True) adj.setConfig("fix", "ST1") adj.setConfig("refraction_coefficient", "0.0") self.runAdjustment("Test 5", adj)