Skip to content

Commit 583f227

Browse files
committed
minor cosmetics
1 parent 3b034ca commit 583f227

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

niftypet/nipet/sct/mmrsct.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def vsm(
476476
muim = muo + muh
477477
emim = em
478478

479-
muim = ndi.interpolation.zoom(muim, Cnt['SCTSCLMU'], order=3) # (0.499, 0.5, 0.5)
479+
muim = ndi.interpolation.zoom(muim, Cnt['SCTSCLMU'], order=3) # (0.499, 0.5, 0.5) <<<<<<<<<<<< TODO: deprecation
480480
emim = ndi.interpolation.zoom(emim, Cnt['SCTSCLEM'], order=3) # (0.34, 0.33, 0.33)
481481

482482
# -smooth the mu-map for mask creation.
@@ -627,6 +627,7 @@ def vsm(
627627

628628
# ======= SCALING ========
629629
# > scale scatter using non-TOF SSRB sinograms
630+
#import pdb; pdb.set_trace()
630631

631632
# > gap mask
632633
rmsk = (txLUT['msino'] > 0).T

niftypet/nipet/sct/src/sctaux.cu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ iMSK get_imskEm(IMflt imvol, float thrshld, Cnst Cnt) {
239239
HANDLE_ERROR(cudaFreeHost(h_v2i));
240240

241241
#else
242-
// printf(">>>>> NVX:%d, THRESHOLD:%f\n", nvx, thrshld);
243242
HANDLE_ERROR(cudaMallocManaged(&d_i2v, nvx * sizeof(int)));
244243
HANDLE_ERROR(cudaMallocManaged(&d_v2i, SSE_IMX * SSE_IMY * SSE_IMZ * sizeof(int)));
245244

@@ -258,7 +257,7 @@ iMSK get_imskEm(IMflt imvol, float thrshld, Cnst Cnt) {
258257
#endif
259258

260259
if (Cnt.LOG <= LOGDEBUG)
261-
printf("d> number of voxel values greater than %3.2f is %d out of %d (ratio: %3.2f)\n",
260+
printf("d> number of voxel values greater than %3.2f (THRSHL=%3.2f) is %d out of %d (ratio: %3.2f)\n",
262261
thrshld, nvx, SSE_IMX * SSE_IMY * SSE_IMZ, nvx / (float)(SSE_IMX * SSE_IMY * SSE_IMZ));
263262
msk.nvx = nvx;
264263
msk.i2v = d_i2v;

0 commit comments

Comments
 (0)