get_channel_ids
- MPPData.get_channel_ids(to_channels, from_channels=None)[source]
Map channel names to ids.
- Parameters
to_channels (
List[str]) – Channel names for which would like to know the ids.from_channels (
Union[DataFrame,List[str],None]) – Getchannel_idsassuming ordering offrom_channels. By default use the ordering ofMPPData.channels. This is useful for models that are trained with different output than input channels.
- Return type
Channel ids that can be used to index
MPPData.mpp.