Skip to main content

COGITO - Crystal Orbital Guided Iteration To atomic-Orbitals

Website COGITO

This repository hosts the code for COGITO, a tool for obtaining quantum chemistry from plane wave DFT calculations. The main codes modules are COGITO, COGITOpost, COGITOanalyze, and COGITOico.

Installation

pip install --upgrade pip
pip install cogito-dft

To install optional dependences (scikit-image, dash, dash-ag-grid) that are used in some COGITOpost functions:

pip install "cogito-dft[plot]"

Running on HPC

As of verison 0.3.2, compute heavy sections of COGITO.py are parallelized. Control the number of jobs and avoid thread oversubscription with:

#SBATCH -N 1
#SBATCH -n 1
#SBATCH --cpus-per-task=4

export OMP_NUM_THREADS=1

Quick Start

Visit the live website: cogito-dft.readthedocs.io

Section Description
Tutorial Step-by-step analysis workflow
File Guide Interactive guide of inputs and outputs
API Docs Complete function reference

Basic Workflow:

  1. Run VASP - Static calculation with saved wavefunctions and high NBANDS
  2. Generate COGITO model - Creates COGITO basis functions and tight binding parameters
  3. Verify quality - Check convergence, charge spilling, orbital mixing, and band interpolation
  4. Analyze chemistry - COHP, bonding, charge analysis
# Run VASP 
vasp_std

# See 'COGITO --help' for variable options
COGITO --dir './'

# Check that quality metrics are within range (check band interpolation after COGITOpost)
COGITOanalyze --dir './'

# Generate atom and bond partition of charge / band energies, make bond plots, and more
COGITOpost --dir './'
# Customize a runTBmodel.py file to get specific plots
python runTBmodel.py

Metadata

Release files for cogito-dft 0.3.15

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

Source distribution (sdist)

Source distribution for cogito-dft 0.3.15
File Size Uploaded Provenance Actions
cogito_dft-0.3.15.tar.gz 376.4 kB Without provenance Details for cogito_dft-0.3.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cogito-dft 0.3.15
File Interpreter ABI Platform Actions
cogito_dft-0.3.15-py3-none-any.whl Python 3 none any Details for cogito_dft-0.3.15-py3-none-any.whl

Total release size: 759.8 kB

Release files / cogito_dft-0.3.15.tar.gz

Download URL cogito_dft-0.3.15.tar.gz
Size 376.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3468d26e62b295a9c9d5b43d264241baa4d4c4a32ec43af83ef8cddadd909d96
BLAKE2b-256 checksum
How to use checksums
4ad8deae68c411dc5b23be5aaef5e23ae403d874518408c1d70ec0e60020de12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / cogito_dft-0.3.15-py3-none-any.whl

Download URL cogito_dft-0.3.15-py3-none-any.whl
Size 383.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
142b61a39a751b4aecb90ff396673f9e43f83f8734ef26d80e2f238192e0b5ac
BLAKE2b-256 checksum
How to use checksums
51a2fce18abde8755be18ce40271f24b4ffe59ca7b806110dea746cb2e117121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for cogito-dft 0.3.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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