pulpy.rf.optcont.deriv
- pulpy.rf.optcont.deriv(rf, x, g, auxa, auxb, af, bf)[source]
1D RF pulse simulation, with simultaneous RF + gradient rotations.
‘rf’, ‘g’, and ‘x’ should have consistent units.
- Args:
rf (array): rf waveform input. x (array): spatial locations. g (array): gradient waveform. auxa (None or array): auxa auxb (array): auxb af (array): forward sim a. bf( array): forward sim b.
- Returns:
array: SLR alpha parameter array: SLR beta parameter