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:
Release files for maicos 0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maicos-0.12.tar.gz | 80.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maicos-0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 169.8 kB
Release files / maicos-0.12.tar.gz
| Download URL | maicos-0.12.tar.gz |
|---|---|
| Size | 80.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e28a56adf6c4614911a735e4344e8ccc6421891e60d917c3db06b0a524461f4c
|
|
BLAKE2b-256 checksum How to use checksums |
8a04ef7e7306c05ee64457b4dcb15dfe989ebeb69a3d1a883420e76b4cd45415
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 23, 2026.
Transparency logRelease files / maicos-0.12-py3-none-any.whl
| Download URL | maicos-0.12-py3-none-any.whl |
|---|---|
| Size | 89.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b790309b79b84d689e4c7729af9b68ebe027582d20622229f3820ab17f5d292
|
|
BLAKE2b-256 checksum How to use checksums |
e7cb4c9e06688a3e4b3a8d43475c46d19b73cc2ab60ca9767ccc56e2774504f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 23, 2026.
Transparency log