mrpro.phantoms.brainweb.BrainwebTissue
- class mrpro.phantoms.brainweb.BrainwebTissue[source]
Bases:
object
Container for parameters of a single tissue.
Attributes are either single values or ranges. If ranges, values are sampled uniformly from within this range by the
sample_r1
,sample_r2
, andsample_m0
methods. If a single value is given, this value is returned by the respective method.- __init__(t1: float | tuple[float, float], t2: float | tuple[float, float], m0_abs: float | tuple[float, float], m0_phase: float | tuple[float, float] = 0.0) None
-
m0_phase:
float
|tuple
[float
,float
] = 0.0 Phase value or range (Phase_min, Phase_max) of the complex M0 in radians.
- sample_m0(rng: None | Generator = None) Tensor [source]
Get (possibly randomized) complex m0 value.
- __eq__(other)
Return self==value.
- __new__(**kwargs)