Ha this must be an old mistake of mine. Can you change dipy.reconst.gqi.DiffusionSpectrumModel to dipy.reconst.dsi.DiffusionSpectrumModel (this is at the see also docstring)?