def compute_lst(self):
if self.header[b'<STR_LIT>'] == <NUM_LIT:6>:<EOL><INDENT>self.coords = gbt_coords<EOL><DEDENT>elif self.header[b'<STR_LIT>'] == <NUM_LIT:4>:<EOL><INDENT>self.coords = parkes_coords<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>if HAS_SLALIB:<EOL><INDENT>dut1 = <NUM_LIT:0.0><EOL>mjd = self.header[b'<STR_LIT>']<EOL>tellong = np.deg2rad(self.coords[<NUM_LIT:1>])<EOL>last = s.sla_gmst(mjd) - tellong + s.sla_eqeqx(mjd) + dut1<EOL>if last < <NUM_LIT:0.0> : last = last + <NUM_LIT>*np.pi<EOL>return last<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>
Compute LST for observation