Skip to content

Commit

Permalink
updated notebook (0th 3dxrd) to use the segment_dataset name as a rep…
Browse files Browse the repository at this point in the history
…lacement for the process function name
  • Loading branch information
noordhee committed Feb 11, 2025
1 parent af6e74f commit 5a7a877
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ImageD11/nbGui/TDXRD/0_3DXRD_segment_frelon.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"from ImageD11.nbGui import nb_utils as utils\n",
"from ImageD11.nbGui import segmenter_gui\n",
"\n",
"from ImageD11.frelon_peaksearch import worker, process, guess_bg\n",
"from ImageD11.frelon_peaksearch import worker, segment_dataset, guess_bg\n",
"\n",
"\n",
"# Experts : update these files for your detector if you need to\n",
Expand Down Expand Up @@ -239,7 +239,7 @@
},
"outputs": [],
"source": [
"ui = segmenter_gui.FrelonSegmenterGui(ds, worker, process, **options)"
"ui = segmenter_gui.FrelonSegmenterGui(ds, worker, segment_dataset, **options)"
]
},
{
Expand All @@ -266,7 +266,7 @@
"source": [
"# now we run the segmenter on all our data\n",
"\n",
"cf_2d, cf_3d = process(ds, options)"
"cf_2d, cf_3d = segment_dataset(ds, options)"
]
},
{
Expand Down Expand Up @@ -429,7 +429,7 @@
" ds.save()\n",
" \n",
" print(\"Peaksearching\")\n",
" cf_2d, cf_3d = process(ds, options)\n",
" cf_2d, cf_3d = segment_dataset(ds, options)\n",
" \n",
" ds.update_colfile_pars( cf_2d )\n",
" ds.update_colfile_pars( cf_3d )\n",
Expand Down

0 comments on commit 5a7a877

Please sign in to comment.