read_safe_model#
- pypulseqpp.safety.read_safe_model()[source]#
Read a SAFE nerve model from a Siemens
.aschardware description.Reading is upstream PyPulseq’s
readascandasc_to_hw; the result is shaped likepypulseq.utils.safe_pns_prediction.safe_example_hw():x,yandz, each witha1-a3,tau1-tau3(ms),stim_limit(T/m/s) andg_scale.- Parameters:
path (str | os.PathLike) – The
.ascfile to read.- Returns:
The model, shaped as described above, for
check_pns()to take as itsmodel.- Return type: