This is confusing. You want to refer to the slices that had b=0, right? But it sounds like you are going for the ones that are diffusion weighted ('dw'). 

Also - the word 'slices' can be confusing because it suggests that you are selecting on the 3D slice dimension and this is not the case. 

My suggestion : `b0_idx`