code: def from_lal(cls, lalfs, copy=True):
          
          from ..utils.lal import from_lal_unit
          try:
              unit = from_lal_unit(lalfs.sampleUnits)
          except TypeError:
              unit = None
          channel = Channel(lalfs.name, unit=unit,
                            dtype=lalfs.data.data.dtype)
          return cls(lalfs.data.data, channel=channel, f0=lalfs.f0,
                     df=lalfs.deltaF, epoch=float(lalfs.epoch),
                     dtype=lalfs.data.data.dtype, copy=copy)
docs: Generate a new `FrequencySeries` from a LAL `FrequencySeries` of any type