Skip to main content

A package for working with phenomenological spin and angular momentum operators

Project description

angmom_suite

angmom_suite is a python package for working with phenomenological spin and angular momentum operators

Installation via pip

Install angmom_suite using pip (if using a shared machine, add the --user argument after install)

pip install angmom_suite

Updating

Update the code using pip (if using a shared machine, add the --user argument after install)

pip install angmom_suite --upgrade

Installation with pip editable install

Only do this if you are developing (i.e. changing) the code.

Clone a copy of this repository, preferably while within a directory called git

mkdir -p git; cd git
git clone https://gitlab.com/chilton-group/angmom_suite

Navigate to the package directory

cd angmom_suite/packages

and install the package in editable mode (if using a shared machine, add the --user argument after install)

pip install -e .

When you're done developing (i.e. your changes have been merged to the master), or if you just want to use the current release version of the package, uninstall using pip

pip uninstall angmom_suite

and follow the Installation via pip instructions above.

Usage

The angmom_suite command line interface can be invoked with

angmom_suite -h

which prints a list of available subprograms.

Alternatively, the individual submodules can be imported into a python program or script as per usual.

Building a .whl file (Advanced)

Only do this if you are told to.

To build a copy of the angmom_suite .whl file, move to the package directory.

Now run

./build_binaries.sh

Then install the .whl file with pip (if using a shared machine, add the --user argument after install)

pip install dist/*.whl

Documentation

The documentation for this package is hosted by gitlab, and is automatically generated whenever new code is committed to the main branch. The automatic generation of this documentation relies on a common layout for comments and docstrings within the code, see contributing for more information.

Development

Before making changes to this repository, please follow the steps outlined in the Chilton group wiki.

Bugs

If you believe you have a bug, please check that you are using the most up to date version of the code.

If that does not fix the problem, please create an issue on GitLab detailing the following:

  • The commands you entered
  • The error message

Remember to simplify the problem as much as possible in order to provide a minimum working example, e.g. an example for a small molecule rather than one with 100000 atoms.

Then, look at the code, try and figure out what you think is wrong if possible, and include this in your issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

angmom_suite-1.18.0.tar.gz (48.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

angmom_suite-1.18.0-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

Details for the file angmom_suite-1.18.0.tar.gz.

File metadata

  • Download URL: angmom_suite-1.18.0.tar.gz
  • Upload date:
  • Size: 48.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.7 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.18

File hashes

Hashes for angmom_suite-1.18.0.tar.gz
Algorithm Hash digest
SHA256 a82268d77f01ace3b8a492ea34c27c07ca2ae4a2ccd58e7705ebd1f06a931807
MD5 3df46211b3e7cf3f81300831d5749abb
BLAKE2b-256 f0ea14b6c45c723b731b5c292b1a676c423ee9c2d08af7bfd978d04232432362

See more details on using hashes here.

File details

Details for the file angmom_suite-1.18.0-py3-none-any.whl.

File metadata

  • Download URL: angmom_suite-1.18.0-py3-none-any.whl
  • Upload date:
  • Size: 49.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.7 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.18

File hashes

Hashes for angmom_suite-1.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50f7fa41585b74c0a3bc8e529fe69823a6aa26733a3867ffba7b88cb28add245
MD5 fe804582683e6a6736f93a9e86fc0f66
BLAKE2b-256 0e58e000ae50068c7969a9e5d8aa8770c3a95d22aef584349e2ac29b4756d692

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page