Skip to main content

Analyse molecular dynamics simulations of interfacial and confined systems.

Project description

MAICoS

MAICoS logo

GitHub Actions Tests Job Status Code coverage Documentation of stable released version Documentation of latest unreleased version Powered by MDAnalysis

MAICoS stands for Molecular Analysis for Interfacial and Confined Systems. It is an object-oriented Python toolkit for analyzing the structure and dynamics of interfacial and confined fluids from molecular simulations. Combined with MDAnalysis, MAICoS enables the extraction of density profiles, dielectric constants, and transport properties from trajectory files generated by LAMMPS, GROMACS, CHARMM, or NAMD simulations. MAICoS is open source and released under the GNU General Public License v3.0.

MAICoS is designed both for beginners in molecular simulations with no prior Python experience— offering a descriptive Command Line Interface (CLI)—and for experienced users who can use the Python API for day-to-day analysis or build their own workflows for interfacial and confined systems.

Stay up to date with MAICoS news by following us on X. If you encounter any issues, report them on GitHub, or join our developer community on Discord to discuss features and improvements.

Basic Example

Here is a simple example showing how to use MAICoS to extract a density profile from a molecular dynamics simulation. The files conf.gro and traj.trr correspond to output files from a GROMACS simulation. In a Python environment, type:

import MDAnalysis as mda
import maicos

u = mda.Universe("conf.gro", "traj.trr")
dplan = maicos.DensityPlanar(u.atoms).run()

The density profile is stored in dplan.results.profile, and the corresponding bin positions are available in dplan.results.bin_pos.

Documentation

For details, tutorials, and examples, visit our official documentation. We also provide the latest documentation for the current development version of MAICoS.

Installation

Install MAICoS using pip:

pip install maicos

Or with conda from conda-forge:

conda install -c conda-forge maicos

List of Analysis Modules

Currently, MAICoS supports the following analysis modules (alphabetically):

Module

Description

DensityCylinder

Cylindrical partial density profiles

DensityPlanar

Cartesian partial density profiles

DensitySphere

Spherical partial density profiles

DielectricCylinder

Cylindrical dielectric profiles

DielectricPlanar

Planar dielectric profiles

DielectricSphere

Spherical dielectric profiles

DiporderCylinder

Cylindrical dipolar order parameters

DiporderPlanar

Planar dipolar order parameters

RDFDiporder

Spherical radial distribution function between dipoles

DiporderSphere

Spherical dipolar order parameters

PDFCylinder

Cylindrical shell-wise 1D pair distribution functions

PDFPlanar

Slab-wise planar 2D pair distribution functions

TemperaturePlanar

Temperature profiles in a Cartesian geometry

VelocityCylinder

Cylindrical velocity profiles

VelocityPlanar

Velocity profiles in a Cartesian geometry

Contributors

Thanks to all contributors who make MAICoS possible:

https://contrib.rocks/image?repo=maicos-devel/maicos

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maicos-0.12.tar.gz (80.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maicos-0.12-py3-none-any.whl (89.7 kB view details)

Uploaded Python 3

File details

Details for the file maicos-0.12.tar.gz.

File metadata

  • Download URL: maicos-0.12.tar.gz
  • Upload date:
  • Size: 80.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for maicos-0.12.tar.gz
Algorithm Hash digest
SHA256 e28a56adf6c4614911a735e4344e8ccc6421891e60d917c3db06b0a524461f4c
MD5 fe3db1d8ce21255782cd75987d90ccc9
BLAKE2b-256 8a04ef7e7306c05ee64457b4dcb15dfe989ebeb69a3d1a883420e76b4cd45415

See more details on using hashes here.

Provenance

The following attestation bundles were made for maicos-0.12.tar.gz:

Publisher: build.yml on maicos-devel/maicos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file maicos-0.12-py3-none-any.whl.

File metadata

  • Download URL: maicos-0.12-py3-none-any.whl
  • Upload date:
  • Size: 89.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for maicos-0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 0b790309b79b84d689e4c7729af9b68ebe027582d20622229f3820ab17f5d292
MD5 2db8353ffd090e2fdb9c3c8fb5f458a4
BLAKE2b-256 e7cb4c9e06688a3e4b3a8d43475c46d19b73cc2ab60ca9767ccc56e2774504f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for maicos-0.12-py3-none-any.whl:

Publisher: build.yml on maicos-devel/maicos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page