def parameter_directmodel_extraction(pars):
    """Extraction of parameters from directmodel parameters."""
    perts_info = [(e[0], e[2]) for e in pars[0]]
    format_pars = [(e[0], e[2]) for e in pars[1]]
    models_pars = [(e[0], e[2]) for e in pars[2]]
    sampling_pars = [(e[0], e[2]) for e in pars[3]]
    scorer_pars = [(e[0], e[2]) for e in pars[4]]
    pars_extracted =\
        perts_info, format_pars, models_pars, sampling_pars, scorer_pars
    return pars_extracted