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

added docstring for plot_avg_density_2D #212

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

johnzl-777
Copy link
Contributor

Reimplements docstring for plot_avg_density_2D in ahs_utils.py from #211

@johnzl-777 johnzl-777 requested a review from a team as a code owner November 1, 2022 14:33
Copy link
Contributor

@maolinml maolinml left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docstring is very detailed but maybe a bit too complicated. In particular, I still don't quite get the interplay of the arguments. I would suggest to a) simply the docstring a bit (maybe max two sentences per arguments), and b) give one or two examples for the possible combinations of the inputs?

across all batches in a parallel job, in which case batch_mapping must be supplied and additional
calculations necessary beyond get_avg_density().
register (AtomArrangement): The register used in creating the Hamiltonian
with_labels (Bool): Choose if each atom's index is displayed. If a batch_mapping is supplied, the order of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An indent is missing

@math411 math411 requested a review from a team as a code owner September 25, 2023 21:56
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.

None yet

3 participants