xpipe.xhandle.xwrap.create_infodict

xpipe.xhandle.xwrap.create_infodict(flist, head=False, pairs=False, seed=None, rotate=False, seed_tag='', shape_path=None, metatag=None, xconfig=None, params=None, dirpaths=None, fullpaths=None, src_bins=(0,))[source]

Creates configuration dictionary which can be passed to multiprocessing map_async()

Parameters
  • flist (list) – list of individual xshear input files

  • head (bool) – whether to use only the first few rows of the shear catalog

  • pairs (bool) – whether to log source-lens pairs

  • seed (int) – random seed

  • rotate (bool) – whether to perform random rotations

  • seed_tag (str) – additional comment to write to each file. default is "_seed" + str(seed)

  • shape_path (str) – absolute path to the source catalog. If None the default path will be loaded from path.params

  • metatag (str) – tag to indicate which metacalibration sheared version this run corresponds to

  • xconfig (str) – absolute path to xshear executable

  • params (dict) – Pipeline settings in a dictionary format. If None then the default paths.params will be used

  • dirpaths (dict) – Pipeline directory paths in a dictionary format. If None then the default paths.fullpaths will be used

  • fullpaths (dict) – Pipeline file paths in a dictionary format. If None then the default paths.fullpaths will be used

Return type

list of dict