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

Add factor to scale the length of the arrows in vector field #78

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

superstar54
Copy link
Owner

@superstar54 superstar54 commented Nov 7, 2024

phonon_setting = {"eigenvectors": np.array([[[0, 0], [0, 0],[0.5, 0]],
                                        [[0, 0], [0, 0], [-0.5, 0]]]
                                       ),
            "kpoint": [0, 0, 0], # optional
            "amplitude": 5, # scale the motion of the atoms
            "factor": 1.5, # scale the length of the arrows
            "nframes": 20,
            "repeat": [4, 4, 1],
            "color": "blue",
            "radius": 0.1,
            }

@superstar54 superstar54 merged commit 4b849e2 into main Nov 7, 2024
13 checks passed
@superstar54 superstar54 deleted the vf_arrow_length branch November 7, 2024 21:52
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.

1 participant