def _get_mapping_dict(ch_names: list[str]) -> dict:
    """Create dictionary for remapping channel types.

    Arguments
    ---------
    ch_names : list
        Channel names to be remapped.

    Returns
    -------
    remapping_dict : dict
        Dictionary mapping each channel name to a channel type.
    """
    remapping_dict = {}
    for ch_name in ch_names:
        if ch_name.startswith("ECOG"):
            remapping_dict[ch_name] = "ecog"
        elif ch_name.startswith(("LFP", "STN")):
            remapping_dict[ch_name] = "dbs"
        elif ch_name.startswith("EMG"):
            remapping_dict[ch_name] = "emg"
        elif ch_name.startswith("EEG"):
            remapping_dict[ch_name] = "eeg"
        elif ch_name.startswith(
            ("MOV", "ANALOG", "ROT", "ACC", "AUX", "X", "Y", "Z", "MISC")
        ):
            remapping_dict[ch_name] = "misc"
        else:
            remapping_dict[ch_name] = "misc"
    return remapping_dict