Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

sdynpy.id_map

Signature

class sdynpy.id_map(from_ids, to_ids)

Class defining mapping between two sets of id numbers

Methods

NameSummary
__init__Initializes the id map
inverseReturns an inverse map, swapping the from and to ids.

__init__

def sdynpy.id_map.__init__(self, from_ids, to_ids)

Initializes the id map

Parameters

Returns

inverse

def sdynpy.id_map.inverse(self)

Returns an inverse map, swapping the from and to ids.

If duplicate id entries exist, they will be overwritten.

Returns