edu.rit.mri
Class SpinSignal
- java.lang.Object
-
- edu.rit.mri.SpinSignal
-
public class SpinSignal extends java.lang.ObjectClass SpinSignal provides static methods for computing the spin signal model function.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doubledSdR(double rho, double R, double t)Compute the partial derivative of the spin signal with respect to spin relaxation rate for the given spin density, spin relaxation rate, and time.static doubledSdrho(double R, double t)Compute the partial derivative of the spin signal with respect to spin density for the given spin relaxation rate and time.static doubleS(double R, double t)Compute the spin signal for the given spin relaxation rate and time.static doubleS(double rho, double R, double t)Compute the spin signal for the given spin density, spin relaxation rate, and time.
-
-
-
Method Detail
-
S
public static double S(double R, double t)Compute the spin signal for the given spin relaxation rate and time. A spin density of ρ = 1 is used. The formula isS(t) = ρ [1 − 2 exp(−R t)] - Parameters:
R- Spin relaxation rate, R.t- Time, t.- Returns:
- Spin signal, S(t).
-
S
public static double S(double rho, double R, double t)Compute the spin signal for the given spin density, spin relaxation rate, and time. The formula isS(t) = ρ [1 − 2 exp(−R t)] - Parameters:
rho- Spin density, ρ.R- Spin relaxation rate, R.t- Time, t.- Returns:
- Spin signal, S(t).
-
dSdrho
public static double dSdrho(double R, double t)Compute the partial derivative of the spin signal with respect to spin density for the given spin relaxation rate and time. The formula is∂S(t) ⁄ ∂ρ = 1 − 2 exp(−R t) - Parameters:
R- Spin relaxation rate, R.t- Time, t.- Returns:
- Partial derivative, ∂S(t) ⁄ ∂ρ.
-
dSdR
public static double dSdR(double rho, double R, double t)Compute the partial derivative of the spin signal with respect to spin relaxation rate for the given spin density, spin relaxation rate, and time. The formula is∂S(t) ⁄ ∂R = 2 ρ t exp(−R t) - Parameters:
rho- Spin density, ρ.R- Spin relaxation rate, R.t- Time, t.- Returns:
- Partial derivative, ∂S(t) ⁄ ∂R.
-
-
DMelt 3.0 © DataMelt by jWork.ORG