prepare_two_pool_mt#
- torchsim.base.prepare_two_pool_mt(T1a, T2a, k, weight_b)[source]#
Prepare simulation parameters for a two-pool Magnetization Transfer model.
- Parameters:
T1a (torch.Tensor) – Longitudinal relaxation time for pool a (ms).
T2a (torch.Tensor) – Transverse relaxation time for pool a (ms).
k (torch.Tensor) – Exchange rate(s) between pool a and b (1/s).
weight_b (torch.Tensor) – Fractional weight of pool b.
- Returns:
Longitudinal relaxation rate(s) for both pools (1/s).
Transverse relaxation rate(s) for both pools (1/s).
Exchange matrix.
Weight tensor for both pools.
- Return type:
tuple of torch.Tensor