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