Skip to main content

imce

Small Python based code for ab initio molecular simulations (using Monte Carlo) using modified sampling criteria (derived from computed spectra uncertainty in the molecular structure). See the following publication for further details: [DOI here]

Installation and Requirements:

Install XTB and STD2 as the required backends (see their respective manuals). On a M2 Macbook, STD2 is compiled with the following flags:

LDFLAGS="-L/opt/homebrew/opt/openblas/lib" CPPFLAGS="-I/opt/homebrew/opt/openblas/include" FC=gfortran-14 CC=gcc-14 meson setup _build -Dla_backend=openblas --wipe

The package can be installed locally with

pip install .

or (with additional packages for development)

pip install '.[dev]'

Usage:

The framework can be accessed as a Python module:

#!/usr/bin/env python3

import imce
from imce.utility import xyz_to_if, if_to_xyz

xtb = imce.xtb_std2_itrf(['ENERGY', 'UVVIS'])  

settings = imce.settings(seed = 0, windows = [[1.5, 8.0]], itrf = xtb, unit = 'eV', convolution_factor = 0.25)

mol = xyz_to_if('dfhbi.xyz')

simbox = imce.simbox(settings, '_uq_02_short.hdf5', mol)
simbox.init() 

sim = imce.uqmc(simbox, steps = 250, delta = 0.01875, sc = 0.2, method = 'UVVIS').run()

Then script is the run on the TU BS ThC cluster using the following command:

tcsub -q s -a generic imce_jobfile.py

Contributing:

Contributions require signature of the commit, acknowledging the following statement:

Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Metadata

Release files for imce 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imce 1.0.0
File Size Uploaded
imce-1.0.0.tar.gz 51.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imce 1.0.0
File Interpreter ABI Platform
imce-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 107.6 kB

Release files / imce-1.0.0.tar.gz

Download URL imce-1.0.0.tar.gz
Size 51.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7b6c9c4cc9d3f7f2685687b5556cb720f1b0cc2df776d48028167cbdd5ee1915
BLAKE2b-256 checksum
How to use checksums
ff0f9e2365f8365df42c769b88352be76dd97cead2559b41559a9f47dadf1fd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Release files / imce-1.0.0-py3-none-any.whl

Download URL imce-1.0.0-py3-none-any.whl
Size 56.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
641a2e2b85db170d6234c0751bc8f8e2d8d9c820be770b8e0787d1cdea4685c8
BLAKE2b-256 checksum
How to use checksums
4d81c41f8c29fee6b6aa07282b1df022b38d418946097c2fd4ac6f2d31d1f148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page