def _satdet_worker(work_queue, done_queue, sigma=<NUM_LIT>, low_thresh=<NUM_LIT:0.1>,<EOL>h_thresh=<NUM_LIT:0.5>, small_edge=<NUM_LIT>, line_len=<NUM_LIT:200>, line_gap=<NUM_LIT>,<EOL>percentile=(<NUM_LIT>, <NUM_LIT>), buf=<NUM_LIT:200>):
for fil, chip in iter(work_queue.get, '<STR_LIT>'):<EOL><INDENT>try:<EOL><INDENT>result = _detsat_one(<EOL>fil, chip, sigma=sigma,<EOL>low_thresh=low_thresh, h_thresh=h_thresh,<EOL>small_edge=small_edge, line_len=line_len, line_gap=line_gap,<EOL>percentile=percentile, buf=buf, plot=False, verbose=False)<EOL><DEDENT>except Exception as e:<EOL><INDENT>retcode = False<EOL>result = '<STR_LIT>'.format(type(e), str(e))<EOL><DEDENT>else:<EOL><INDENT>retcode = True<EOL><DEDENT>done_queue.put((retcode, fil, chip, result))<EOL><DEDENT>return True<EOL>
Multiprocessing worker.