cymr.network.Network.get_sublayers#

Network.get_sublayers(layer, sublayers)#

Get an array of indices for multiple sublayers.

Parameters:
  • layer (str) – Layer to access.

  • sublayers (list of str) – Sublayers to access.

Returns:

[sublayers x 2] array of start and stop indices for each sublayer.

Return type:

numpy.array