![]() |
Multivariate Pattern Analysis in Python |
Helpers for arguments handling.
Decorator function to join parts of kwargs together
Parameters: |
|
---|
Example: if needed to join all args which start with ‘slave<underscore>’ together under slave_kwargs parameter
Helper to separate kwargs into multiple groups
Parameter: | prefixes (list of basestrings) – Each entry sets a prefix which puts entry with key starting with it into a separate group. Group ‘’ corresponds to ‘leftovers’ |
---|---|
Output: | dictionary with keys == prefixes |