What's the difference between get_slice and get_values?

It seems to me that tally.get_slice and tally.get_values have similar functions, so what I’m curious about is why set up these two separate functions?

Hello @abc,

These two methods return different things. Calling get_slice will return a new Tally object with a subset of the data of the original tally. On the other hand, calling get_values will return a Numpy array with the requested data.

Best regards,
Artur Souza

Thank you for your reply!