Swarm-NG  1.1
logrecord.py File Reference

Routines and classes to access a binary log record structure. More...

Go to the source code of this file.

Classes

class  swarmng.logrecord.LogRecord
 Data structure equivalent of the logrecord defined in Swarm-NG C++ library This class does not use any C++ code, intead it uses pack/unpack to directly parse the binary format into Python variables. More...
 

Namespaces

 swarmng.logrecord
 Contains the support functions for accessing the C++ logrecord data strcture.
 

Constant Groups

 swarmng.logrecord
 Contains the support functions for accessing the C++ logrecord data strcture.
 

Functions

def swarmng.logrecord.center_of_mass
 Compute the physical center of mass (weighted average of properties by mass) of an array of planets. More...
 
def swarmng.logrecord.with_index
 Take a list and return a new iterable that yields elements from the original list with indices.
 

Detailed Description

Routines and classes to access a binary log record structure.

To read the documentation generated from this file refer to swarmng.logrecord

Definition in file logrecord.py.