Skip to content
Snippets Groups Projects
Commit 14abd503 authored by David Hammer's avatar David Hammer
Browse files

Missed two conflicts from rebase

parent df8d0051
No related branches found
No related tags found
1 merge request!438Feat/agipd add fixed gain mode to dark notebook
...@@ -434,37 +434,11 @@ ...@@ -434,37 +434,11 @@
" else:\n", " else:\n",
" continue\n", " continue\n",
" inp.append((fname_in, i, gg))\n", " inp.append((fname_in, i, gg))\n",
<<<<<<< HEAD
||||||| 335796a
" \n",
" gg += 1\n",
"\n",
"p = partial(characterize_module, IL_MODE, max_cells,\n",
" (thresholds_offset_hard, thresholds_offset_sigma,\n",
" thresholds_noise_hard, thresholds_noise_sigma),\n",
" rawversion, karabo_id, acq_rate, h5path, h5path_idx,\n",
" control_names, karabo_id_control)\n",
=======
"\n", "\n",
"with multiprocessing.Pool() as pool:\n", "with multiprocessing.Pool() as pool:\n",
" results = pool.starmap(characterize_module, inp)\n", " results = pool.starmap(characterize_module, inp)\n",
>>>>>>> bd98a3c6b5a10f7347ba8a74d0ce895565db9ca5
"\n", "\n",
<<<<<<< HEAD
"with multiprocessing.Pool() as pool:\n",
" results = pool.starmap(characterize_module, inp)\n",
"\n",
"for offset, noise, gains, gains_std, gg, bp, thiscell, thisacq in results:\n",
||||||| 335796a
"# Don't remove. Used for Debugging.\n",
"#results = list(map(p, inp))\n",
"results = view.map_sync(p, inp)\n",
"\n",
"for ii, r in enumerate(results):\n",
" offset, noise, gains, gains_std, gg, bp, thiscell, thisacq = r\n",
=======
"for offset, noise, gains, gains_std, gg, bp, thiscell, thisacq in results:\n", "for offset, noise, gains, gains_std, gg, bp, thiscell, thisacq in results:\n",
>>>>>>> bd98a3c6b5a10f7347ba8a74d0ce895565db9ca5
" all_cells.append(thiscell)\n", " all_cells.append(thiscell)\n",
" all_acq_rate.append(thisacq)\n", " all_acq_rate.append(thisacq)\n",
" for i in modules:\n", " for i in modules:\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment