transientskp / pyse

Python Source Extractor
BSD 2-Clause "Simplified" License
11 stars 5 forks source link

Add dask to setup #38

Closed HannoSpreeuw closed 1 year ago

HannoSpreeuw commented 1 year ago

This was missing, as noticed by @dentalfloss1. Fixes #36

Only dask.array is needed, since we are only using dask.array. map_blocks, in sourcefinder/image.py.

dask.distributed was used in scripts/pyse, but seems redundant, so has been removed.

psutil has also been added to setup.py, it is needed to count the number of (logical) cores in sourcefinder/image.py, for multiprocessing through pool.map.