get_shape#

get_shape(network)[source]#

Determine shape of a cubic network

Parameters:

network (dict) – The network dictionary

Returns:

shape – An array containing the shape of the network each direction

Return type:

ndarray