Find Clebsch-Gordan coefficients
Project description
clebg
Calculate Clebsch–Gordan coefficients
Typical usage:
#!/usr/bin/env python
from cg import ClebschGordan
ClebschGordan.execute('myImage.png',0.5,0.5,'Default','Default')
this should create an image with the name myImage.png in working directory
For graphical frontend, open the terminal and type:
clebg
Additional modules
cg
Calculate sum of all natural numbers from 1 to n using Carl Friedrich Guass[1777-1855, Germany] algorithm.
Typical usage:
#!/usr/bin/env python from cg import german print german.sum(999)
gcd
To find GCD/GCF of two numbers by Euclid’s GCD algorithm.
Typical usage:
#!/usr/bin/env python from cg import german print german.gcd(999, 56)
Installation
Install using PyPI:
pip install carlfg
To uninstall:
pip uninstall carlfg
Source code at github.com/psachin/carlfg
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
carlfg-0.32.tar.gz
(7.0 kB
view details)
File details
Details for the file carlfg-0.32.tar.gz.
File metadata
- Download URL: carlfg-0.32.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bad3c481e7017d197e75da7f50775d06036093d2763b0cd4413c3d3403799b24
|
|
| MD5 |
a265e4e72303686c32e8ed026e4a2213
|
|
| BLAKE2b-256 |
8c0bdee3cda29ca7bd27e1f686ddebda8c01e940fbd4f236b1bb39f072e2b4e2
|