MAINT: ndimage: move check before initializing iterators + explicit list of types
MAINT: ndimage: move check before initializing iterators + explicit list of types

mdhaber/scipy,zerothi/scipy,lhilt/scipy,matthew-brett/scipy,lhilt/scipy,grlee77/scipy,scipy/scipy,WarrenWeckesser/scipy,scipy/scipy,mdhaber/scipy,tylerjereddy/scipy,aeklant/scipy,jamestwebber/scipy,jamestwebber/scipy,grlee77/scipy,Stefan-Endres/scipy,lhilt/scipy,ilayn/scipy,aarchiba/scipy,andyfaff/scipy,perimosocordiae/scipy,matthew-brett/scipy,gertingold/scipy,matthew-brett/scipy,perimosocordiae/scipy,ilayn/scipy,pizzathief/scipy,zerothi/scipy,aarchiba/scipy,nmayorov/scipy,Eric89GXL/scipy,mdhaber/scipy,jamestwebber/scipy,vigna/scipy,aarchiba/scipy,ilayn/scipy,Stefan-Endres/scipy,andyfaff/scipy,arokem/scipy,zerothi/scipy,lhilt/scipy,vigna/scipy,WarrenWeckesser/scipy,gertingold/scipy,gertingold/scipy,gertingold/scipy,perimosocordiae/scipy,pizzathief/scipy,ilayn/scipy,zerothi/scipy,tylerjereddy/scipy,WarrenWeckesser/scipy,mdhaber/scipy,Eric89GXL/scipy,gfyoung/scipy,matthew-brett/scipy,nmayorov/scipy,scipy/scipy,vigna/scipy,aarchiba/scipy,e-q/scipy,zerothi/scipy,aeklant/scipy,gfyoung/scipy,tylerjereddy/scipy,grlee77/scipy,tylerjereddy/scipy,arokem/scipy,gfyoung/scipy,rgommers/scipy,vigna/scipy,perimosocordiae/scipy,ilayn/scipy,jor-/scipy,pizzathief/scipy,person142/scipy,andyfaff/scipy,grlee77/scipy,anntzer/scipy,nmayorov/scipy,grlee77/scipy,jor-/scipy,Eric89GXL/scipy,rgommers/scipy,aarchiba/scipy,mdhaber/scipy,perimosocordiae/scipy,scipy/scipy,vigna/scipy,person142/scipy,person142/scipy,gfyoung/scipy,Eric89GXL/scipy,endolith/scipy,anntzer/scipy,pizzathief/scipy,e-q/scipy,Stefan-Endres/scipy,rgommers/scipy,gfyoung/scipy,arokem/scipy,Eric89GXL/scipy,e-q/scipy,Stefan-Endres/scipy,endolith/scipy,endolith/scipy,endolith/scipy,arokem/scipy,rgommers/scipy,jamestwebber/scipy,endolith/scipy,scipy/scipy,anntzer/scipy,Stefan-Endres/scipy,perimosocordiae/scipy,aeklant/scipy,aeklant/scipy,mdhaber/scipy,zerothi/scipy,lhilt/scipy,e-q/scipy,matthew-brett/scipy,nmayorov/scipy,person142/scipy,ilayn/scipy,andyfaff/scipy,endolith/scipy,jor-/scipy,jor-/scipy,WarrenWeckesser/scipy,WarrenWeckesser/scipy,e-q/scipy,aeklant/scipy,gertingold/scipy,andyfaff/scipy,jamestwebber/scipy,jor-/scipy,scipy/scipy,pizzathief/scipy,anntzer/scipy,andyfaff/scipy,arokem/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,person142/scipy,tylerjereddy/scipy,anntzer/scipy,anntzer/scipy,nmayorov/scipy,Eric89GXL/scipy,rgommers/scipy