def METHOD_NAME(points, filename, other_data={}, fields=None):
    """Open a PLY file and write points as vertices.
    points is a Nx3 array of (x,y,z) coordinates
    filename is the path the file to write
    other_data is an optional dictionary of other data to write
    fields is a list of properties to write in a specific order
    The other_data keys are PLY property names (other than x, y, z) that map
    to a numpy array of values for each point for that property.  The arrays
    should each by of length N.
    The fields list must be either None or a subset of properties "x", "y", "z",
    and the keys of other_data.  The order of the properties is the order they appear
    in the file.
    """
    L = np.array(points)
    other_data["x"] = L[:,0]
    other_data["y"] = L[:,1]
    other_data["z"] = L[:,2]
    if not fields:
        fields = ["x", "y", "z"]
    with open(filename,'w') as f:
        write_ply(other_data, f, fields)