-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Ill conditioned matrix" while trying to run kineticmodel SRTM #135
Comments
Hi @cepa995, thanks for your question! Both of these computations are performed per voxel. I'm imaging that the warnings you're seeing are being generated at a small number of voxels relative to the number of voxels in the brain mask – perhaps some background voxels that got included in the mask you're using, or a voxel in or near the ventricles, or some other voxel where there isn't a clear time activity curve. The ill-conditioned matrix warning could also be stemming from voxels (especially voxels in the reference region) where the time activity curve (TAC) is very close to the mean TAC in the reference region. This would mean that the 2nd and 3rd columns of the matrix |
Thanks @bilgelm, that makes sense! |
Sorry, but I have a question. What is the target region in SRTM model? How do I define it? For exmaple, I want to use Whole Cerebellum as reference, and Hippocampus as target @bilgelm |
Hi @cepa995, An SRTM is fitted per voxel (if a 4-D PET image is supplied as input to If you want to estimate SRTM kinetic parameters only in the hippocampus, you can speed up the computation by ignoring non-hippocampus:
|
I think I get it. So in summary, I can use typical reference region, such as Cerebellum or White Matter, and 4D PET image, estimate DVR, and then mask out hippocampus? Regarding the 2nd option, I already tried that but I get an error that reference mask (e.g. white matter) does not fit into pet mask (hippocampus). So I guess I would need to supply entire brain mask, and later extraxt results per specific regions, like FDG stats, etc. Correct? |
Yes, that's right. My bad re: the 2nd option -- the way it is currently implemented, you need to include the reference region in the |
Hi,
I have successfully managed to clone and install your package, and I tried out SRTM method on my own data where as a reference mask I've used whole brain mask (for testing purposes).
Problem I am running into is that during the computation of DVR, while trying to fit Linear Regression model, it always seems to hit the
LinAlgException
where theb
cannot be solved due toIll-conditioned matrix
, specifically at lines 254:as well as line 311:
Although this may be "just a warning", could you help me understand the root of this issue and how can I address it? Why, and what matrix exactly is ill-conditioned?
Thanks!
The text was updated successfully, but these errors were encountered: