nimare.extract.download_peaks2maps_model

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

Download the trained Peaks2Maps model from OHBM 2018.

Deprecated since version 0.0.11: download_peaks2maps_model will be removed in NiMARE 0.0.13.

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 – Path to folder containing model.

Return type

str