pynbody.util.indexing_length# pynbody.util.indexing_length(sl_or_ar)[source]# Given either an array or slice, return len(ar[sl_or_ar]) for any array ar which is large enough that the slice does not overrun it.