def METHOD_NAME(collection, name):
    """
    Return
    """
    query = {'collection': {'$contains': [collection]}, 'name': name}
    doc = db.smf_samples.lucky(query, {'Fourier_coefficients': False, 'eigenvalues': False})
    if doc is None:
        raise ValueError('Error: the item "%s.%s" was not found in the database.' % (collection, name))
    id_link = doc.pop('id_link')
    # Fourier coefficients and eigenvalues
    fcs = db.smf_fc.search({'owner_id': id_link}, ['det', 'data'])
    doc['Fourier_coefficients'] = dict(((fc['det'], fc['data']) for fc in fcs))
    evs = db.smf_ev.search({'owner_id': id_link}, ['index', 'data'])
    doc['eigenvalues'] = dict(((ev['index'], ev['data']) for ev in evs))
    label = doc['collection'][0] + '.' + doc['name']
    doc['label']= label
    import json
    return json.dumps(doc, sort_keys=True, indent=4)