def get_peak_indices(uvvis_obj):
    """Finds indices of unique value/extinction objects at 'peak' scope

     :param chemdataextractor.model.UvvisSpectrum uvvis_obj : UvvisSpectrum containng peak data

     :returns
        list value_peak_indices : UvvisPeak indices pointing to objects solely containing uvvis values
        list ext_peak_indices : UvvisPeak indices pointing to objects solely containing extinction coefficient values

     """

    # Identifying which peak objects are just values or extinctions
    value_peak_indices, ext_peak_indices = [], []
    for i, peak in enumerate(uvvis_obj.peaks):
        if peak.just_value():
            value_peak_indices.append(i)
        if peak.just_extinction():
            ext_peak_indices.append(i)

    return value_peak_indices, ext_peak_indices