Skip to content

Commit

Permalink
added span-1/span-x for histogramming
Browse files Browse the repository at this point in the history
  • Loading branch information
pjmark committed May 7, 2024
1 parent 2cefb91 commit 2d60a2c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion niftypet/nipet/lm_inv/src/lm_inv_module.cu
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,12 @@ static PyObject *hist(PyObject *self, PyObject *args) {
Cnt.DEVID = (char)PyLong_AsLong(pd_devid);

//> axial LUTs:
PyObject *pd_msn = PyDict_GetItemString(o_axLUT, "Msn");
if (Cnt.SPN==1){
PyObject *pd_msn = PyDict_GetItemString(o_axLUT, "Msn1");
}
else {
PyObject *pd_msn = PyDict_GetItemString(o_axLUT, "Msn");
}
PyObject *pd_mssrb = PyDict_GetItemString(o_axLUT, "Mssrb");

PyArrayObject *p_msn = NULL;
Expand Down

0 comments on commit 2d60a2c

Please sign in to comment.