superstats.networks.utils#

Utility functions for network configuration.

Functions

expand_singletons_to_common_length(**kwargs)

Expand scalar and single-element arguments to the common sequence length.

superstats.networks.utils.expand_singletons_to_common_length(**kwargs)[source]#

Expand scalar and single-element arguments to the common sequence length.

Strings and bytes are treated as scalar values, not as sequences.

Parameters:

kwargs (Any)

Return type:

dict[str, list[Any]]