pynbody.util.chained_slice

Contents

pynbody.util.chained_slice#

pynbody.util.chained_slice(s1, s2)[source]#

Return a slice s3 with the property that ar[s1][s2] == ar[s3]