Swarm-NG  1.1
py Directory Reference

Python interface, testing and tutorial code.

More...

Directories

directory  bin
 
directory  swarmng
 Python package interface to the Swarm library.
 
directory  tests
 Python unit testing.
 

Files

file  ejection_tutorial.py [code]
 
file  ensemble_tutorial.py [code]
 
file  integration_plot_tutorial.py [code]
 Advanced tutorial on how to examine the ensemble before and after the integration to plot meaningful results.
 
file  logrecord_tutorial.py [code]
 Tutorial for using the swarmng.logrecord.LogRecord class for accessing records from a BDB log file.
 
file  plot_tutorial.py [code]
 Tutorial for extracting and plotting information from the BDB log files.
 
file  resume_tutorial.py [code]
 Tutorial on resuming integration from saved snapshots.
 
file  stats_tutorial.py [code]
 Tutorial on extracting statistical information from a data file.
 
file  tutorial.py [code]
 Beginner tutorial on how to interface with the integrators.
 

Detailed Description

Python interface, testing and tutorial code.

This directory is the root of all Python code in Swarm-NG repository.

The directory structure is: swarmng: meant to be used as a Python package, it defines the interface to C++ library as well as other API that is implemented in Python test: is for unit testing. The tests can be run by running the test/run.py in that directory. samples: is for sample code that is distributed with swarm as a starting point bin: some Python code that is meant to be used as command-line commands.