v2.3.1 Now Available

ColumX

Advanced Electron Optics Simulation Platform

Professional-grade TEM/STEM/SEM column design and simulation

$ pip install columx
Successfully installed columx-1.0.0
$ python -c "from columx import GlaserLens; print('Ready')"
Ready

Complete Electron Optics Toolkit

From paraxial ray tracing to full column modeling, ColumX provides the physics modules you need to design and analyze electron optical systems with high precision.

Ray Optics

Comprehensive ray tracing engine supporting paraxial and full 3D trajectories through electromagnetic lens systems with high-order aberration analysis.

Paraxial 3D Ray Tracing Glaser Lens 5th Order Aberrations

Wave Optics

Full wave-optical simulation pipeline including contrast transfer functions, probe formation, multislice propagation, and crystal potential calculations.

CTF STEM Probe Multislice Crystal Potentials

Advanced Imaging

Simulate complex imaging modes including STEM, CBED, EELS, HRTEM, and differential phase contrast with quantitative accuracy.

STEM Imaging CBED EELS HRTEM DPC

Column Design

End-to-end electron column modeling with lens cascade systems, multipole elements, source characterization, and deflection subsystems.

Full Column Lens Cascade Multipole Source Deflection

Design Lenses in Python

ColumX provides a clean, Pythonic API for electron optics simulation. Define lenses, compute aberrations, and analyze transfer functions in just a few lines.

Glaser Magnetic Lens

Model the standard Glaser bell-shaped field distribution to quickly estimate focal properties and primary aberration coefficients for magnetic round lenses.

Contrast Transfer Function

Compute the CTF with full aberration coefficients, defocus, and aperture constraints. Supports both coherent and partially coherent illumination models.

Composable Building Blocks

All ColumX components are designed to compose naturally. Chain lenses, apertures, and propagation steps into complete column simulations.

example.py Python
from columx import GlaserLens, ContrastTransferFunction
from columx import electron_wavelength

# Design a Glaser magnetic lens
lens = GlaserLens(V=200e3, B0=1.0, a=0.003)
print(f"Focal length: {lens.focal_length*1e3:.2f} mm")
print(f"Cs: {lens.Cs*1e3:.2f} mm")
print(f"Cc: {lens.Cc*1e3:.2f} mm")

# Calculate CTF
ctf = ContrastTransferFunction(
    V=200e3,
    Cs=lens.Cs,
    Cc=lens.Cc,
    defocus=-50e-9,
    aperture_angle=10e-3
)

Up and Running in Seconds

Install ColumX via pip. Choose the variant that fits your workflow, from core-only to the full suite with GUI and web server.

pip install

pip install columx
Core
pip install columx[gui]
GUI
pip install columx[all]
Everything

CLI Commands

columx gui
Desktop GUI
columx web
Web Server
columx demo
Run Demo

Choose Your Plan

Start free with the Community Edition. Upgrade when you need GUI tools, priority support, or custom modules for your research or production workflow.

Community
Community
Free

Core simulation engine for researchers and enthusiasts.

  • Core simulation engine
  • Ray optics modules
  • Wave optics modules
  • Community support
Get Started Free
Enterprise
Full Platform
¥4,999/month

Custom solutions for instrument manufacturers and labs.

  • Custom physics modules
  • On-site training
  • SLA guarantee
  • Multi-physics coupling
  • All Professional features
Contact Sales
Academic
Research License
¥199/month

Full professional features at 80% discount for academia.

  • All Professional features
  • 80% academic discount
  • Universities & research institutes
  • .edu email verification
Apply for License
20
Physics Modules
ray optics, wave optics, imaging
13,000+
Lines of Core Code
well-tested, documented
269
Automated Tests
CI/CD validated
<0.04%
Cs Relative Error
Validated against analytical solutions
<0.02%
Cc Relative Error
Validated against analytical solutions