pynbody.array.shared.unpack

Contents

pynbody.array.shared.unpack#

pynbody.array.shared.unpack(array_description)[source]#

Reconstruct an array backed onto shared memory from a deconstructed array (returned by pack()).

Parameters:

array_description (object) – A description of the array that has been passed in from another process, where pack() was called.

Returns:

array – A view on the same shared memory array that was passed in to pack().

Return type:

SimArray