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

Create a guesthost package #3

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

Conversation

rashidrafeek
Copy link
Member

I have made the guesthost code a package which can be installed with pip and tested easily. The instructions are mentioned in a README file. Also, examples of usage are present in the tests directory.

To install the code, one can go to the package directory and do pip install .

- analyisis/function_module.py:
  - Fix division by zero
- Lattice class:
  - Add helper functions, `shift_index`, `get_motif`.
  - Add analysis functions, `pb_enviroment_coords`,
    `br_environment_coords`, `pb_br_pb_angle`,
    `pb_br_pb_angle_hostrelative`, `br_distance_from_plane`.
- LatticeTrajectory class:
  - Add helper function, `compute_for_all_cells`.
- Add option to specify index of origin to `pbc_vectors` function.
- Store the atoms object corresponding to each Fragment in the Fragment
  class.
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