Python package for making QDng calculations inputs
Module:
inpxml.py: InpXML class with methods designed for the creation of xml structures intended as input files for quantum chemistry calculations with QDng package. Requires lxml.
Example:
In: mCO = 1240 T = {'head':'T', 'name':"GridNablaSq", 'mass':mCO} Vg = {'head':'V', 'name':"GridPotential", 'file':'pot_Vg'} Ve = {'head':'V', 'name':"GridPotential", 'file':'pot_Ve'} mel = {'head':'m0.0', 'name':'Sum', 'Opes':[T, Vg]}
Hparams = {'type':'Sum', 'Mels':mel}
WFpar = {'type':'file', 'states':1, 'file':'wfguess', 'normalize':False}
propapar = {'dt': 0.165697, 'steps': 500, 'wcycle': 100, 'dir': 'propa_files', 'nfile': 'norm'}
prop = InpXML()
prop.program('propa', propapar, WFpar)
prop.propagation('Cheby', Hparams)
prop.addfilter('filterpost', {'expeconly':{'name':'Flux', 'int':'True'}})
prop.show()
Out:
<qdng>
<propa dt="0.165697" steps="500" wcycle="100" dir="propa_files" nfile="norm">
<propagator name="Cheby">
<hamiltonian name="Sum">
<T name="GridNablaSq" mass="1240"/>
<V name="GridPotential" file="pot_Vg"/>
</hamiltonian>
</propagator>
<wf file="wfguess"/>
<filterpost>
<expeconly name="Flux" int="True"/>
</filterpost>
</propa>
</qdng>
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pqinput-0.0.321.tar.gz
(10.9 kB
view details)
Built Distributions
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
pqinput-0.0.321-py3-none-any.whl
(11.0 kB
view details)
File details
Details for the file pqinput-0.0.321.tar.gz.
File metadata
- Download URL: pqinput-0.0.321.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e609161acba89be0145f297fc2a2eb342afe50aaf3c34c1476813cfdc7dd4ba
|
|
| MD5 |
86631439965e53efa50bdf10e90de804
|
|
| BLAKE2b-256 |
645686e8bd3c2198c88ee8def89fa8048783b2809f3929213b17b58fa42cf723
|
File details
Details for the file pqinput-0.0.321-py3-none-any.whl.
File metadata
- Download URL: pqinput-0.0.321-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4270cda80c69d4b2403230604f915cd414c3b72d4fea23506d37d2a84b7513c4
|
|
| MD5 |
24f76853a1a971ec745d25a0e1b8ad2e
|
|
| BLAKE2b-256 |
20c3bbbbf5fda1046e8f8a6eabd97497073c1fd278b3fb761e01004785dfb2c0
|
File details
Details for the file pqinput-0.0.321-py2.py3-none-any.whl.
File metadata
- Download URL: pqinput-0.0.321-py2.py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03ed3bc20373f83e42aabea0605bec57c364bbae0cf533a1f5c48ffc89b0d4be
|
|
| MD5 |
538564835a1c04a8cefdd676fb70c48a
|
|
| BLAKE2b-256 |
aee260c1c8b63d2e14ca4dea02a9a4a2613df5b05d1bc4c4ab711b37f8d4bddf
|