Open KrisThielemans opened 4 years ago
Sorry, I missed this.
Hmm, looks like this is handled here: https://github.com/UCL/STIR/blob/29133a3ffa690b444894b4392aa710e8bb33a42e/src/include/stir/DiscretisedDensity.inl#L218-L253
I use the CartesianCoordinate3D.{x(),y(),z()}
interface as opposed to indexing. So it would seem the issue might be with the use of that data type?
@ashgillman I find the following confusing:
i.e. I'd expect that LPS coordinates are in order LPS.
I guess you did this because of the usual STIR
z,y,x
convention (wherez
is along the axis of the scanner), but we never call thisget_xyz
.This seems quite non-trivial to change however. Moreover, it would also have repercussions for SIRF I guess (@rijobro @evgueni-ovtchinnikov, please confirm).
Not sure what to do with this...