@classmethod
def from_nds2(cls, nds2channel):
    """Generate a new channel using an existing nds2.channel object
        """
    return cls(nds2channel.name, sample_rate=nds2channel.sample_rate, unit=
        nds2channel.signal_units or None, dtype=nds2channel.data_type, type
        =nds2channel.channel_type)
