You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, getting help() on a boost object (defined in C I think), does not show any useful user-written documentation on how to use the object.
Should add documentation to clarify how to use these objects.
Example of help( camfr.Section ), which should say something like
__init__( self, first_pass_modes, second_pass_modes)
The line s = Section(all, 10, 40) means we use (2*10+1)^2 plane waves in the first stage, and refine it using 40 1D modes in each Slab during the second stage.
Can just add a python script file, which adds a __doc__ string literal """ to each object, although docstring and actual code would then be separated into different files which is not ideal.
@jsenellart , do you have any insight into this issue? This is something I would love to work on, but the C/BOOST/Python wrapper functionality is beyond my pay grade. I'd love to find a way to type the Python docstring directly into the cpp file where the functions are defined, rather than in a separate python file.
From @demisjohn on March 7, 2018 13:51
Currently, getting
help()
on a boost object (defined in C I think), does not show any useful user-written documentation on how to use the object.Should add documentation to clarify how to use these objects.
Example of
help( camfr.Section )
, which should say something likeinstead we get a cryptic:
Copied from original issue: #8
The text was updated successfully, but these errors were encountered: