Tools for XMVB orbital and Molden file conversion.
Project description
XMVB-Tools
xmvb-tools is a package for converting XMVB orbital data to and from Molden-related formats.
It currently provides five command-line tools:
vb2moldengus2moldenmolden2gusno2moldensortw
Installation
pip install xmvb-tools
Requirements
- Python 3.10+
numpy
Usage
vb2molden
Convert XMVB VB orbitals from .orb , basis/geometry information from .xmo into a Molden file.
vb2molden <orb_prefix> <xmo_prefix>
Example:
vb2molden C6H6_xmvb4 C6H6_xmvb4
Output:
<orb_prefix>.molden
Options:
-b: disable basis conversion before writing the Molden GTO section
gus2molden
Convert XMVB guess orbitals embedded in an .xmo file into a Molden file.
gus2molden <xmo_prefix>
Example:
gus2molden C6H6_xmvb4
Output:
<xmo_prefix>_vbgus.molden
Options:
-b: disable basis conversion before writing the Molden GTO section
molden2gus
Read a Molden orbital file and interactively build an XMVB guess orbital file.
molden2gus <molden_prefix>
Example:
molden2gus SO4_lo
Output:
<molden_prefix>_gus.molden<molden_prefix>.gus
Interactive commands:
<atoms> <orbitals>: extract selected orbitals on selected atomsa <orbitals>: add whole orbitals for all atomsr<angle> <orb1>,<orb2>: rotate two orbitals by the given angle in degreesm<number> <orbital>: multiply one orbital by a scalarq: write output files and exit
Examples:
2,4 6-8,9a 1-5r45 1,2m-1 4
You can also redirect commands from a text file:
molden2gus xx < xx.txt
no2molden
Convert natural orbitals embedded directly in a modern XMVB .xmo file into a Molden file.
no2molden <xmo_prefix>
Example:
no2molden C6H6_xmvb4
Output:
<xmo_prefix>_no.molden
Options:
-b: disable basis conversion before writing the Molden GTO section
sortw
Sort and print XMVB structure weights or coefficients from an .xmo file.
sortw <xmo_prefix> [weight_type]
Example:
sortw C6H6_xmvb4 w
Supported weight_type values:
w:WEIGHTS OF STRUCTURESl:Lowdin Weightsi:Inverse Weightsr:Renormalized Weightsc:COEFFICIENTS OF STRUCTURES
default: w
Version support
| Supported Version | XMVB 3.x (branch XMVB3) | XMVB 4.x (branch master) |
|---|---|---|
| Fixes | ✅ | ✅ |
| Future Updates | ❌ | ✅ |
| Python Package | ❌ | ✅ |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xmvb_tools-0.2.1.tar.gz.
File metadata
- Download URL: xmvb_tools-0.2.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24e303f196c72442a1c2d31a0f4085928cf0bd0880172eedd192a2e089a0d6dd
|
|
| MD5 |
0d51919f7966ccc25471b938a95f2a6f
|
|
| BLAKE2b-256 |
5b59c3d529f96d05b7cfaa1ebe8c1924ba298d659f91dc9206c792bd4c48df99
|
Provenance
The following attestation bundles were made for xmvb_tools-0.2.1.tar.gz:
Publisher:
publish.yml on Usu171/xmvb-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xmvb_tools-0.2.1.tar.gz -
Subject digest:
24e303f196c72442a1c2d31a0f4085928cf0bd0880172eedd192a2e089a0d6dd - Sigstore transparency entry: 1174019777
- Sigstore integration time:
-
Permalink:
Usu171/xmvb-tools@fccd6eb9278a757098236193ed1e9fd38fcb0cef -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Usu171
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fccd6eb9278a757098236193ed1e9fd38fcb0cef -
Trigger Event:
push
-
Statement type:
File details
Details for the file xmvb_tools-0.2.1-py3-none-any.whl.
File metadata
- Download URL: xmvb_tools-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f7216b1b6312d23fb113a2b94f2e323212d2f185bdedbf1e8e3b1ade78e0539
|
|
| MD5 |
10eb1750e6c8d6ada6a87712cee88e18
|
|
| BLAKE2b-256 |
e20b458956af23cc3b06b2328f23b87f431d7ec5930b904c1c460d27afe812e5
|
Provenance
The following attestation bundles were made for xmvb_tools-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on Usu171/xmvb-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xmvb_tools-0.2.1-py3-none-any.whl -
Subject digest:
8f7216b1b6312d23fb113a2b94f2e323212d2f185bdedbf1e8e3b1ade78e0539 - Sigstore transparency entry: 1174019817
- Sigstore integration time:
-
Permalink:
Usu171/xmvb-tools@fccd6eb9278a757098236193ed1e9fd38fcb0cef -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Usu171
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fccd6eb9278a757098236193ed1e9fd38fcb0cef -
Trigger Event:
push
-
Statement type: