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.14

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.14
File Size Uploaded Provenance Actions
cogito_dft-0.3.14.tar.gz 376.4 kB Without provenance Details for cogito_dft-0.3.14.tar.gz

Built distribution (wheel)

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

Total release size: 759.7 kB

Release files / cogito_dft-0.3.14.tar.gz

Download URL cogito_dft-0.3.14.tar.gz
Size 376.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cf5fb739ad938c9abb5344d234f4e9805a9e15db5109448003b7c334b8bb416d
BLAKE2b-256 checksum
How to use checksums
661b31e88a62ae1b7c03665615e24df6ee7194fb8d0098e82e4295daa6a1406c
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.14-py3-none-any.whl

Download URL cogito_dft-0.3.14-py3-none-any.whl
Size 383.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5909f9537885f679c8d075cb416003637edceaa1a7a9e7b6d16e7740296945b6
BLAKE2b-256 checksum
How to use checksums
5a1b45fbd0d363a481b787f86c333adc8497f6ac846b6d72f997361418191eb9
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.14

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