You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

x3dase

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

x3dase

Drawing and rendering atoms and molecules objects using X3DOM. X3dase can be used as a viewer for the molecule structure in the Jupyter notebook.

1.1.4
pipPyPI
Maintainers
1

x3dase

Python module for drawing and rendering atoms and molecules objects using X3DOM. X3dase can be used as a viewer for the molecule structure in the Jupyter notebook.

Functions:

  • Support all file-formats using by ASE, including cif, xyz, cube, pdb, json, VASP-out and so on.
  • Ball & stick
  • Space filling
  • Polyhedral
  • Isosurface
  • Show element and index
  • Measure distance and angle
  • Animation

For the introduction of ASE , please visit https://wiki.fysik.dtu.dk/ase/index.html

Author

Dependencies

  • Python
  • ASE
  • Skimage

Installation using pip

pip install --upgrade --user x3dase

Installation from source

You can get the source using git:

git clone https://github.com/superstar54/x3dase.git

Then add it to your PYTHONPATH and PATH. On windows, you can edit the system environment variables.

export PYTHONPATH=/path-to-x3dase:$PYTHONPATH

Examples

Draw molecule in Jupyter notebooks

Shortcut

keyfunction
bball-and-stick model
sspacefilling model
ppolyhedra model
1view top
2view front
3view right
4view element
5view index

Show different models

Measure distance and angle between atoms

Using Ctrl + click to select atoms.

Selectionmeasurement
single atomxyz position and atomic symbol
two atomsinteratomic distance
three atomsthree internal angles

Polyhedra for crystal

Isosurface for electron density

Animation

images = [atoms1, atoms2, atoms3]
X3D(images)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts