def METHOD_NAME(s_key='d65'):
    emitter = mi.load_dict({
        "type": "ply",
        "filename": "resources/data/tests/ply/triangle.ply",
        "emitter" : { "type": "area", "radiance" : spectrum_dicts[s_key] },
        "to_world" : mi.ScalarTransform4f.translate([10, -1, 2])
    })
    spectrum = mi.load_dict(spectrum_dicts[s_key])
    expanded = spectrum.expand()
    if len(expanded) == 1:
        spectrum = expanded[0]
    return emitter, spectrum