slice_prof# torchsim.utils.slice_prof(rf_envelope, nlocations=10, osf=100)[source]# Calculate slice profile using Fourier approximation. Parameters: rf_envelope (npt.ArrayLike) – Temporal envelope of RF waveform. nlocations (int, optional) – Number of spatial locations. The default is 10. osf (int, optional) – Oversampling factor for FFT interpolation. The default is 100. Returns: profile – B1 profile along slice. This is normalized so that center of the slice has nominal flip angle. Return type: npt.ArrayLike