def to_pycbc(self, copy=True):
from pycbc import types<EOL>if self.epoch is None:<EOL><INDENT>epoch = None<EOL><DEDENT>else:<EOL><INDENT>epoch = self.epoch.gps<EOL><DEDENT>return types.FrequencySeries(self.value,<EOL>delta_f=self.df.to('<STR_LIT>').value,<EOL>epoch=epoch, copy=copy)<EOL>
Convert this `FrequencySeries` into a
        `~pycbc.types.frequencyseries.FrequencySeries`

        Parameters
        ----------
        copy : `bool`, optional, default: `True`
            if `True`, copy these data to a new array

        Returns
        -------
        frequencyseries : `pycbc.types.frequencyseries.FrequencySeries`
            a PyCBC representation of this `FrequencySeries`