nimare.extract.download_peaks2maps_model

download_peaks2maps_model(data_dir=None, overwrite=False)[source]

Download the trained Peaks2Maps model from OHBM 2018.

New in version 0.0.2.

Parameters
  • data_dir (pathlib.Path or str or None, optional) – Where to put the trained model. If None, then download to the automatic NiMARE data directory. Default is None.

  • overwrite (bool, optional) – Whether to overwrite an existing model or not. Default is False.

Returns

data_dir (str) – Path to folder containing model.