code: def to_lal_ligotimegps(gps):
      
      gps = to_gps(gps)
      return lal.LIGOTimeGPS(gps.gpsSeconds, gps.gpsNanoSeconds)
docs: Convert the given GPS time to a `lal.LIGOTimeGPS` object
  
      Parameters
      ----------
      gps : `~gwpy.time.LIGOTimeGPS`, `float`, `str`
          input GPS time, can be anything parsable by :meth:`~gwpy.time.to_gps`
  
      Returns
      -------
      ligotimegps : `lal.LIGOTimeGPS`
          a SWIG-LAL `~lal.LIGOTimeGPS` representation of the given GPS time