def getUVs(object, particle_system):
    """ returns a numpy-array of uv - coordinates for a given particle-system 
    on a given object """
    locations = [p.location for p in object.particle_systems[particle_system].particles]
    uvs = [pam.map3dPointToUV(object, object, loc) for loc in locations]
    return np.array(uvs)