Generalized diffusion-weighting gradient waveforms optimization in diffusion MRI | Synapse