Skip to main content

A package for calculating magnetic relaxation rates

Project description

tau2

tau2 is a python package for simulating magnetic relaxation.

Installation via pip

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

pip install tau2

Updating

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

pip install tau2 --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/tau2

Navigate to the package directory

cd tau2/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 tau2

and follow the Installation via pip instructions above.

Usage

The tau2 command line interface can be invoked with

tau2 -h

which prints a list of available subprograms.

Additional options for the raman and orbach programs can be viewed with --advanced_help.

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

tau2-2.2.1.tar.gz (69.6 kB view details)

Uploaded Source

Built Distribution

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

tau2-2.2.1-py3-none-any.whl (74.0 kB view details)

Uploaded Python 3

File details

Details for the file tau2-2.2.1.tar.gz.

File metadata

  • Download URL: tau2-2.2.1.tar.gz
  • Upload date:
  • Size: 69.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for tau2-2.2.1.tar.gz
Algorithm Hash digest
SHA256 302da6839c297ae4d7070ac70474a11b218095478aac80fe6fee7e87982de6a0
MD5 9900a8d6f18726dec94743cd8391cabe
BLAKE2b-256 4c9a65dd8b12f7d6e33f2b79e5d0ede99ceb241f6d547e9c905934f58be5f758

See more details on using hashes here.

File details

Details for the file tau2-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: tau2-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 74.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for tau2-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15df95c9ca2f46e1fa52047634b8b75111a1bbb125b8b07275bf5718779348ff
MD5 ff54207b8966e40764c4b0e67bf4ff1c
BLAKE2b-256 e347e8163c64ee12ec6c782e702f1f2a4e3f5732c1e4774534f33a5aafc2eb76

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