Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
14abd503
Commit
14abd503
authored
4 years ago
by
David Hammer
Browse files
Options
Downloads
Patches
Plain Diff
Missed two conflicts from rebase
parent
df8d0051
No related branches found
No related tags found
1 merge request
!438
Feat/agipd add fixed gain mode to dark notebook
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
+0
-26
0 additions, 26 deletions
notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
with
0 additions
and
26 deletions
notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
+
0
−
26
View file @
14abd503
...
@@ -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",
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment