toPetMmR has an an outres parameter
|
def toPetMmr(im, pad=True, dtype=np.float32, outres="mMR", modes=None, |
|
PetClass=FDG): |
It would be nice to be able to pass this to the higher level get_mmr and get_mmr_fromfile as well, such that we can get images at different voxel-size out.
It would be even better to be able to specify arbitrary voxel-size/shape, but that seems to only be possible by modifying the Res/Shape classes, which seems to require major surgery, or possibly doing a setattr(Res, mMR, ...) and same for Shape
toPetMmRhas an anoutresparameterbrainweb/brainweb/utils.py
Lines 398 to 399 in 202eb40
It would be nice to be able to pass this to the higher level
get_mmrandget_mmr_fromfileas well, such that we can get images at different voxel-size out.It would be even better to be able to specify arbitrary voxel-size/shape, but that seems to only be possible by modifying the
Res/Shapeclasses, which seems to require major surgery, or possibly doing asetattr(Res, mMR, ...)and same forShape