-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numpy docstrings #65
Numpy docstrings #65
Conversation
fix #60 |
blobmodel/blobs.py
Outdated
blob_alignment : bool, optional | ||
If blob_aligment == True, the blob shapes are rotated in the propagation direction of the blob | ||
If blob_aligment == False, the blob shapes are independent of the propagation direction | ||
theta : float |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be documented? It is not an input parameter, maybe it should be private
In either case, if documented, it should be "Angle of the blob's velocity vector with the x-axis if blob_aligment=True, else 0"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I removed theta from the docstring.
This PR adds numpy style docstrings to the code. This is a first step for building a usable documentation for the package. As a next step I intend to implement a propper docs page using sphinx.
Some of docstrings seem like extra boiler plate code but I added them anyway for automatic doc generating with sphinx.