I am trying to use docstrings in the Nautilus.py module so that it is clear what the public interface is. I have used standard conventions to hide some functions as private. However the output isn't exactly what I want because a number of Sire methods end up exposed. Is there a simple workaround or should I give up on having help(Nautilus) return only the 'public' interface ?
In the example below, the only function that should have been listed in FUNCTIONS is cell2grid()
WARNING: IPython History requires SQLite, your history will not be saved
Python 3.3.3 (default, Aug 13 2014, 21:53:23)
Type "copyright", "credits" or "license" for more information.
IPython 2.2.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from Sire.Tools import Nautilus
In [2]: help(Nautilus)
Help on module Sire.Tools.Nautilus in Sire.Tools:
NAME
Sire.Tools.Nautilus
DESCRIPTION
Nautilus is a python module that implements the grid cell theory (GCT) method.
GCT enables analysis of explicit solvent molecular dynamics simulations to compute and spatially resolve enthalpies and entropies of
water molecules
Details of the methodology are available in the following publications:
Evaluation of Host/Guest Binding Thermodynamics of Model Cavities with Grid Cell Theory
Michel, J. ; Henchman, R.H. ; Gerogiokas, G. ; Southey, M. W. Y. ; Mazanetz, M. P. ; Law, R. J. ;
J. Chem. Theory Comput., 10 (9), 2014, 4055-4068
Prediction of Small Molecule Hydration Thermodynamics with Grid Cell Theory
Gerogiokas, G. ; Calabro, G. ; Henchman, R.H. ; Southey, M. W. Y. ; Law, R. J. ; Michel, J.
J. Chem. Theory Comput., 10 (1), 35 - 48, 2014
.
FUNCTIONS
Gamma(...)
Gamma( (object)alpha [, (object)x]) -> float :
C++ signature :
double Gamma(double [,double])
acute(...)
acute( (object)angle) -> object :
C++ signature :
SireUnits::Dimension::PhysUnit<0, 0, 0, 0, 0, 0, 1> acute(SireUnits::Dimension::PhysUnit<0, 0, 0, 0, 0, 0, 1>)
align(...)
align( (object)p, (object)q [, (bool)fit=True]) -> object :
C++ signature :
QVector<SireMaths::Vector> align(QVector<SireMaths::Vector>,QVector<SireMaths::Vector> [,bool=True])
boys(...)
boys( (int)m, (object)x) -> float :
convert(...)
convert( (object)val, (Unit)to_units) -> float :
C++ signature :
double convert(double,SireUnits::Dimension::Unit)
convert( (object)val, (TempBase)to_units) -> float :
C++ signature :
double convert(double,SireUnits::Dimension::TempBase)
convert( (object)val, (Unit)from_units, (Unit)to_units) -> float :
C++ signature :
double convert(double,SireUnits::Dimension::Unit,SireUnits::Dimension::Unit)