pyimcom.splitpsf.imsubtract_wrapper

Functions

run_imsubtract_all(cfg_file[, workers, max_imgs, ...])

Main routine to run imsubtract on all images in the cache.

Module Contents

run_imsubtract_all(cfg_file, workers=4, max_imgs=None, display=None, local_output=False, mmap=None)[source]

Main routine to run imsubtract on all images in the cache.

Parameters:
  • cfg_file (str) – Path to the config file.

  • workers (int, optional) – Number of workers to use for parallel processing. Default is 4.

  • max_imgs (int, optional) – If provided, does computations for a maximum number of SCAs. Most users will want the default of None; this is provided mainly for testing.

  • display (str or None, optional) – Display location for intermediate steps. Default is None.

  • local_output (bool, optional) – Whether to direct the file to local output instead of the cache directory.

  • mmap (str or str-like, optional) – Directory to put temporary mmap files.