weas-widget
weas-widget copied to clipboard
A widget to visualize and edit atomic structures in Jupyter Notebook
```python import ipywidgets as ipw from ase.build import molecule from weas_widget import WeasWidget tab_contents = ['H2O', 'NH3', 'CH4'] children = [WeasWidget(from_ase=molecule(name)) for name in tab_contents] tab = ipw.Tab() tab.children =...
When showing the index of the atoms, in Python, the index starts from 0, while in code (like QuantumESPRESSO) written in Fortron, it starts at 1. It is good to...
Here, I list the features that are considered to be added in the future. ## Features must have - [ ] display as a HTML file - [ ] add...
I installed weas-widget in colab as: !pip install weas-widget Then run: from ase.build import molecule from weas_widget import WeasWidget atoms = molecule("H2O") viewer = WeasWidget() viewer.from_ase(atoms) viewer Output: --------------------------------------------------------------------------- ValueError...
One can open the web console using: Developer: Open Webview Developer Tools from the command palette
On my retina display, the default resolution looks quite pixelated I suggest to increase the default resolution, and possibly add a way to control it via the menu. The latter...
As discussed, you may want to consider names other than WEAS - WEAS is not easy to communicate verbally (similar to "viz", wease, wheeze) - weasel does not have positive...