def get_indices(row_compound):
    """Finds indices of unique value/extinction objects at 'uvvis' scope

    :param chemdataextractor.model.Compound row_compound : Compound containing uvvis data

    :returns
        list value_indices : UvvisSpectrum indices pointing to objects solely containing uvvis values
        list ext_indices : UvvisSpectrum indices pointing to objects solely containing extinction coefficient values
    """

    value_indices, ext_indices = [], []
    for i, uvvis_obj in enumerate(row_compound.uvvis_spectra):
        if uvvis_obj.just_value():
            value_indices.append(i)
        if uvvis_obj.just_extinction():
            ext_indices.append(i)
    return value_indices, ext_indices