1 / 45

Single Component DESPOT Simulations

Single Component DESPOT Simulations. Jason Su Sep 23, 2012. Motivation. Developing and vetting simulation tools in the process of further analyzing the CRLB of mcDESPOT begun by Lankford and Does

kesia
Download Presentation

Single Component DESPOT Simulations

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Single Component DESPOT Simulations Jason Su Sep 23, 2012

  2. Motivation • Developing and vetting simulation tools in the process of further analyzing the CRLB of mcDESPOT begun by Lankford and Does • Many of the concepts and indeed code that Sean wrote for his single component fitting algorithms were carried into the mcDESPOT fitting that is in current use at many sites

  3. Methods • MATLAB simulations of the single component SPGR and bSSFP signal equations • There are two ways to formulate the bSSFP equation, in the original “brute force” matrix form as: • mcDESPOT extends this formulation to multiple components • or as solved by Freeman (1971): • Note that this is the steady state signal before the RF pulse

  4. Methods • I implemented both formulations and verified that they are exactly equivalent • The simulations herein are performed with the matrix version • This allowed the use of one function that can handle both single and multi-component models, so any verification done here gives me confidence in the mcDESPOT results • Data from a simulated tissue are fed into the DESPOT2(-FM) scheme • T1 and M0 via DESPOT1, linearization of the SPGR data and fitting • T2 via DESPOT2(-FM) fitting with known T1 • Linearization of phase-180 only SSFP data via DESPOT2 • Fitting of phase-0 and phase-180 data via SRC and DESPOT2-FM, also fits for off-resonance (θ)

  5. Methods • Flip angles • angles_spgr = [2 4 6 8 10 12 14]; % 16 18]; %deg • Lankford uses the first 7/9 angles, not sure why • angles_ssfp = [6 14 22 30 38 46 54 62 70]; • Simulated parameters are well within the bounds of the initial SRC range (T2 = 5-150ms, θ = 0-2π)

  6. Question • DESPOT2-FM and mcDESPOT both treat the SSFP theoretical signal before the RF pulse • Does the code implementation do this? We actually want to model the signal after the RF pulse. • From the old source code available to us, it would appear that this is unfortunately the case • Will try to confirm this is the same as the executable we have from Sean • I had to fix bugs in the code to get the source to compile properly, so it is definitely not the same source as the executable from Sean but the core fitting could still be the same • What problems does this cause in fitting data that is after RF? • Note that normal DESPOT2 considers signal after RF

  7. Data Before RF: DESPOT2 Fit

  8. Data Before RF: DESPOT2 Fit

  9. Data After RF: DESPOT2 Fit

  10. Data After RF: DESPOT2 Fit

  11. DESPOT2 • Normal DESPOT2 doesn’t care if the signal is before or after the RF! Why? • where m is the slope of the fitted line • The after RF signal differs from before RF by a factor of sin(α) • However, SSSFP appears on both sides so this factor is actually only resolved in the intercept term after linearization • T2 is solved so that it only depends on the slope, so there is not a problem • M0 is solved after first finding T2, though it is typically ignored • Perhaps a better treatment is to fit for both jointly with the slope and intercept, but in this case it nails the correct answer anyway

  12. DESPOT2 • Is deterministic so all the standard deviations are 0: i.e. after repeated runs on the same data, the same result is given • Off-resonance is not modeled, so ignore those plots

  13. Data Before RF: DESPOT2-FM

  14. Data After RF: DESPOT2 Fit

  15. DESPOT2-FM • T2 is okay but off-resonance estimation is poor, sometimes very off in some trials • SRC fitting is used, which inherently gives results that change from trial to trial even though the data is identical, yielding a distribution of solutions • This is different from the distribution due to noise in the input data that the CRLB characterizes • The distribution should hopefully be tight around the true answer • T1 is still obtained from the deterministic DESPOT1 fit

  16. DESPOT2-FM • The results are again nearly identical regardless of whether the data is before or after RF. Why? • There is no linearization, there should be no such immunity and we are fitting the before RF equation • The answer is an often undocumented part of the SRC fitting procedure, the phase-0 and phase-180 data are first normalized by their means along the flip angle dimension • Sean has suggested this is a good way to remove the need to fit for M0, i.e. it simplifies the problem

  17. DESPOT2-FM: The Nitty Gritty • I’m not sure this is the correct way to remove M0 • The mean across the flip angle dimension is also influenced by T1 and T2 • Can we remove it by taking a low flip angle image? This is true of SPGR, for SSFP the equation is approximately: • We could divide by this and remove M0, but also add additional T2 dependence that must be included in the fit • But is there a reason M0 should be different in SPGR compared to SSFP?

  18. DESPOT2-FM: The Nitty Gritty • After normalization by the mean, the magnitude of Mx + iMy before RF is computed and fit to the data • Straight from the source code we have: • theoreticalMx = (1-e1)*e2*e2*sina*(cos(phasePrecession)-e2)/D; • theoreticalMy = (1-e1)*e2*e2*sina*sin(phasePrecession)/D; • There’s an additional E2 in the code!

  19. DESPOT2-FM: The Nitty Gritty • The theoretical curve is also normalized to its mean, so it does take into account additional influence of T1 and T2 through the norm. • This also conveniently removes the extra E2 bug. • Could be that the idea for mean normalization came about originally as a patch for this unresolved bug • I’m sure there must be some influence on the stability or precision of the fitting by using such a complicated normalization factor as the mean, how to show this?

  20. Actual Curves

  21. Actual Curves

  22. How DESPOT2-FM Sees Curves

  23. How DESPOT2-FM Sees Curves

  24. Question • Okay well this is all well and good but how do you know your source is actually what we’ve been using? • Does the compiled source give the result as Sean’s executable?

  25. Compiled from Source

  26. Provided Executable

  27. Answer • Sorry it’s the same core fitting as far as I can tell. • For sure the source we have isn’t what was used to make the executable since there were bugs, but the guts seem to be the same.

  28. Question • Is there a problem with the off-resonance fitting? • SRC relies on being able to contain the solution within a lower and upper bound, however this breaks down in a cyclic space • Indeed, with the initial range set as 0-2π, the “normal” case of on-resonance is hard for SRC to fit for • We saw that this was previously the case with the strange bimodal distribution

  29. Changes • On my way to examining the off-resonance issue, I took small steps in modifying the source for DESPOT2-FM • Removed mean normalization and gave it the correct M0 (or we can pretend it read it from the DESPOT1 fit) – call this “noNorm” • Also fixed the signal equation, no additional E2 term – call this “fixedEqn” • Additionally modified the SRC off-resonance range from π-3π, making the space centered around on-resonance – call this “offRes” • Negative phases were avoided because there was some existing logic to throw away such values

  30. Data Before RF: noNorm

  31. Data After RF: noNorm

  32. Effect of the Normalization • Yup, it’s bad without normalization. • We’re fitting the wrong equation and it’s before the RF, so things get even worse in the “after RF” case

  33. Data Before RF: noNorm Fit

  34. noNorm Curve Fit – Mean Normalized

  35. Data After RF: noNorm Fit

  36. noNorm Curve Fit – Mean Normalized

  37. Mean Normalization • Notice how after mean normalization, the fits look nearly identical despite having different T2 and off-resonances • This should translate to the CRLB showing this model has low precision in the presence of noise

  38. Data Before RF: fixedEqn

  39. Data After RF: fixedEqn

  40. Fixing the Equation • Having the fitting model match the simulation model is obviously good • Since the model is before RF, that fit is nearly spot on for T2, after RF is wrong of course • Much of the error manifests as a bias in the off-resonance • Off-resonance fitting is still a problem

  41. Data Before RF: offRes

  42. Data Before RF: DESPOT2-FM

  43. SRC and Off-Resonance • It is a little curious that T2 is a bit more tightly distributed in the fixedEqn case but the bias is high, so still much worse overall • Rotating the off-resonance space is of course only a trial solution since it has only just shifted the problematic cases to ±π phase • I think the correct way may be to set the range of values from 0-4π that way there is always ±π buffer for any given phase • However, when SRC finds a good candidate at each contraction step, it should convert the phase to lie within a 2π range in some predictable manner so there’s no instability about which way to go

  44. What if we only changed the off-resonance code?

  45. Relevance to mcDESPOT • mcDESPOT relies heavily on DESPOT2-FM for it’s initial off-resonance estimate • FM is implemented identically as presented, with extra E2 and mean normalization • Subsequent for off-resonance is subject to the same issues of SRC and a cyclic dimension • Mean normalization is used, may worsen precision in noisy situations • Equations are still before RF

More Related