pynbody.bridge.bridge_factory#
- pynbody.bridge.bridge_factory(a: snapshot.SimSnap, b: snapshot.SimSnap) AbstractBridge [source]#
Create a bridge connecting the two specified snapshots.
This function will determine the best type of Bridge to construct between the two snapshots, and return it. It is called by
pynbody.snapshot.simsnap.SimSnap.bridge()
.For more information see the bridge tutorial.