@classmethod
def from_data(cls, data):
    """

        Instantiate a new :class:`~nmrpy.data_objects.Fid` object by providing a
        spectral data object as argument. Eg. ::

            fid = Fid.from_data(data) 
        """
    new_instance = cls()
    new_instance.data = data
    return new_instance
