Multivariate Pattern Analysis in Python

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- PyMVPA Home |
- Sitemap »
- PyMVPA User Manual »
- Miscellaneous »
- mvpa2.misc.args »

# mvpa2.misc.args.group_kwargs

`mvpa2.misc.args.``group_kwargs`(prefixes, assign=False, passthrough=False)

  Decorator function to join parts of kwargs together

  Parameters:

  prefixes : list of strs

  > Prefixes to split based on. See `split_kwargs`

  assign : bool

  > Flag to assign the obtained arguments to self._<prefix>_kwargs

  passthrough : bool

  > Flag to pass joined arguments as <prefix>_kwargs argument. Usually it is sufficient to have either assign or passthrough. If none of those is True, decorator simply filters out mentioned groups from being passed to the method

  Example: if needed to join all args which start with ‘slave<underscore>’ :

  together under slave_kwargs parameter :

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- PyMVPA Home |
- Sitemap »
- PyMVPA User Manual »
- Miscellaneous »
- mvpa2.misc.args »