def neuron_cylinder(cur,name):
    """
    Returns the cylindrical locations of neuron segment centroids
    [cell_name,radius,phi,z]

    Parameters:
    ----------
    cur : MySQLdb
    name : str
        Cell name
    """
    sql = ("select radialPharynx.distance,radialPharynx.phi,image.IMG_SectionNumber "
            "from radialPharynx "
            "join object on object.OBJ_Name=radialPharynx.OBJ_Name "
            "join contin on contin.CON_Number=object.CON_Number "
            "join image on image.IMG_Number=object.IMG_Number "
            "where contin.CON_AlternateName = '%s'" %name)

    cur.execute(sql)
    data = [[int(a[0]),float(a[1]),int(a[2])] for a in cur.fetchall()]
    return data