Skip to content

Adding python 3.10 documentation #727

@argerlt

Description

@argerlt

Is your feature request related to a problem? Please describe.
Hello, first time py4dstem poster and fairly new 4DSTEM user.

Question for the devs: the dynamical simulation notebooks have been hugely helpful for me, both in terms of my research and also just learning about Bloch waves. However, the process.diffraction.crystal functions have docstrings that don't follow the normal numpy-style standards, which makes querying them difficult. See the following screenshot for an example:

Image

Note how several of the inputs get incorrectly shoved into the discriptions of args.

Will anyone care if I submit a PR cleaning these up? Not changing any calculations, just making all the type hints and parameter descriptions and whatnot pep-compliant, so they render properly in the documentation.

I wanted to check before starting because occasionally these atypical docstrings are intentionally designed a certain way to render properly in some third party solution.

Describe the solution you'd like
Someone to give me the thumbs up to change things

Describe alternatives you've considered
reading the raw code in the repo.

Additional context
N/A.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions