def filter_measurements(measurements, csc_name, topic_name):
    """Filter full list of measurements looking for CSC plus topic name.
    Parameters
    ----------
    measurements : list[str]
        The list of all available measurements.
    csc_name : str
        Name of the CSC to filter on.
    topic_name : str
        Name of the topic to filter on.
    Returns
    -------
    list[str]
        Filtered list of topics.
    """
    csc_filtered = [
        measurement.split(".")[-1]
        for measurement in measurements
        if csc_name in measurement
    ]
    topic_filtered = [topic for topic in csc_filtered if topic_name in topic]
    return topic_filtered

e1cc06c63b8e4c8c8a50c34a6a85aaa7f2b7ee34
<mask token>

def filter_measurements(measurements, csc_name, topic_name):
    """Filter full list of measurements looking for CSC plus topic name.
    Parameters
    ----------
    measurements : list[str]
        The list of all available measurements.
    csc_name : str
        Name of the CSC to filter on.
    topic_name : str
        Name of the topic to filter on.
    Returns
    -------
    list[str]
        Filtered list of topics.
    """
    csc_filtered = [measurement.split('.')[-1] for measurement in
        measurements if csc_name in measurement]
    topic_filtered = [topic for topic in csc_filtered if topic_name in topic]
    return topic_filtered

def filter_measurements(measurements, csc_name, topic_name):
    """Filter full list of measurements looking for CSC plus topic name.
    Parameters
    ----------
    measurements : list[str]
        The list of all available measurements.
    csc_name : str
        Name of the CSC to filter on.
    topic_name : str
        Name of the topic to filter on.
    Returns
    -------
    list[str]
        Filtered list of topics.
    """
    csc_filtered = [
        measurement.split(".")[-1]
        for measurement in measurements
        if csc_name in measurement
    ]
    topic_filtered = [topic for topic in csc_filtered if topic_name in topic]
    return topic_filtered
