Analyse molecular dynamics simulations of interfacial and confined systems.
Project description
MAICoS
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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e28a56adf6c4614911a735e4344e8ccc6421891e60d917c3db06b0a524461f4c
|
|
| MD5 |
fe3db1d8ce21255782cd75987d90ccc9
|
|
| BLAKE2b-256 |
8a04ef7e7306c05ee64457b4dcb15dfe989ebeb69a3d1a883420e76b4cd45415
|
Provenance
The following attestation bundles were made for maicos-0.12.tar.gz:
Publisher:
build.yml on maicos-devel/maicos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maicos-0.12.tar.gz -
Subject digest:
e28a56adf6c4614911a735e4344e8ccc6421891e60d917c3db06b0a524461f4c - Sigstore transparency entry: 846165226
- Sigstore integration time:
-
Permalink:
maicos-devel/maicos@3b9dc00c14b0eb64c4f8cef9280103b7276eabc9 -
Branch / Tag:
refs/tags/v0.12 - Owner: https://github.com/maicos-devel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3b9dc00c14b0eb64c4f8cef9280103b7276eabc9 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b790309b79b84d689e4c7729af9b68ebe027582d20622229f3820ab17f5d292
|
|
| MD5 |
2db8353ffd090e2fdb9c3c8fb5f458a4
|
|
| BLAKE2b-256 |
e7cb4c9e06688a3e4b3a8d43475c46d19b73cc2ab60ca9767ccc56e2774504f2
|
Provenance
The following attestation bundles were made for maicos-0.12-py3-none-any.whl:
Publisher:
build.yml on maicos-devel/maicos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maicos-0.12-py3-none-any.whl -
Subject digest:
0b790309b79b84d689e4c7729af9b68ebe027582d20622229f3820ab17f5d292 - Sigstore transparency entry: 846165229
- Sigstore integration time:
-
Permalink:
maicos-devel/maicos@3b9dc00c14b0eb64c4f8cef9280103b7276eabc9 -
Branch / Tag:
refs/tags/v0.12 - Owner: https://github.com/maicos-devel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3b9dc00c14b0eb64c4f8cef9280103b7276eabc9 -
Trigger Event:
workflow_dispatch
-
Statement type: