Skip to content
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

Merged
merged 10 commits into from
Jun 15, 2023
Merged

Numpy docstrings #65

merged 10 commits into from
Jun 15, 2023

Conversation

gregordecristoforo
Copy link
Member

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.

@gregordecristoforo
Copy link
Member Author

fix #60

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
Copy link
Member

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"

Copy link
Member Author

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.

@gregordecristoforo gregordecristoforo merged commit 2c43e8b into main Jun 15, 2023
@gregordecristoforo gregordecristoforo deleted the numpy_docstrings branch June 15, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants