def METHOD_NAME(lookat, cutoff_angle, s_key='d65'):
    spectrum = mi.load_dict(spectrum_dicts[s_key])
    expanded = spectrum.expand()
    if len(expanded) == 1:
        spectrum = expanded[0]
    emitter = mi.load_dict({
        'type' : 'spot',
        'cutoff_angle' : cutoff_angle,
        'to_world' : lookat,
        'intensity' : spectrum
    })
    return emitter, spectrum