Skip to content

Commit

Permalink
further update default number of processors for making QA plots
Browse files Browse the repository at this point in the history
  • Loading branch information
geordie666 committed Apr 8, 2019
1 parent e3478d8 commit 5190c89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py/desitarget/QA.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def _in_desi_footprint(targs):

def make_qa_plots(targs, qadir='.', targdens=None, max_bin_area=1.0, weight=True,
imaging_map_file=None, truths=None, objtruths=None, tcnames=None,
cmx=False, bit_mask=None, mocks=False, numproc=32):
cmx=False, bit_mask=None, mocks=False, numproc=8):
"""Make DESI targeting QA plots given a passed set of targets.
Parameters
Expand Down Expand Up @@ -1556,7 +1556,7 @@ def make_qa_plots(targs, qadir='.', targdens=None, max_bin_area=1.0, weight=True
constraints) instead of the main survey bits.
mocks : :class:`boolean`, optional, default=False
If ``True``, add plots that are only relevant to mocks at the bottom of the webpage.
numproc : :class:`int`, optional, defaults to 32
numproc : :class:`int`, optional, defaults to 8
The number of parallel processes to use to generate plots.
Returns
Expand Down Expand Up @@ -1746,7 +1746,7 @@ def _generate_plots(objtype):

def make_qa_page(targs, mocks=False, makeplots=True, max_bin_area=1.0, qadir='.',
clip2foot=False, weight=True, imaging_map_file=None,
tcnames=None, systematics=True, numproc=32):
tcnames=None, systematics=True, numproc=8):
"""Create a directory containing a webpage structure in which to embed QA plots.
Parameters
Expand Down Expand Up @@ -1781,7 +1781,7 @@ def make_qa_page(targs, mocks=False, makeplots=True, max_bin_area=1.0, qadir='.'
for those specific bits. A useful speed-up when testing
systematics : :class:`boolean`, optional, defaults to ``True``
If sent, then add plots of systematics to the front page.
numproc : :class:`int`, optional, defaults to 32
numproc : :class:`int`, optional, defaults to 8
The number of parallel processes to use to generate plots.
Returns
Expand Down

0 comments on commit 5190c89

Please sign in to comment.