nbodykit.io.tools¶
Functions
|
Return the list of file numbers that must be accessed to return data between start and slice, where these indices are defined in terms of the global catalog indexing |
|
Utility function to return the size of an array slice |
|
Convert a global slice, specified by start and stop to the corresponding local indices of the file specified by fnum |
-
nbodykit.io.tools.
get_file_slice
(sizes, start, stop)[source]¶ Return the list of file numbers that must be accessed to return data between start and slice, where these indices are defined in terms of the global catalog indexing
-
nbodykit.io.tools.
get_slice_size
(start, stop, step)[source]¶ Utility function to return the size of an array slice