def get_all_sections(params_array):
    """
    Retrieves list with all the section names.
    
    Parameters
    ----------
     params_array
         list with configuration [created with serial_params_to_array()].
     
    Returns
    -------
     sections
         list of strings with the names of all the sections in the ini file.
    """
    sections=[]
    for vector in params_array:
        sections.append(vector[0])
    return(sections)