-
Hi everyone, my goal is relatively simple: Plot the atomic drift due to a DFT geometry optimization I can load in all the data I need to calculate the displacement vectors for each atom using ASE. What I cannot figure out is creating the appropriate geometry object. I tried the VASP IO module geom = carSile('CONTCAR').get_geometry()
geom.plot() Which did not work. Any clues on how to use the io modules to instantiate a geometry object ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
Hi, generally one should trust import sisl
geom = sisl.get_sile('CONTCAR').read_geometry() there are no Thanks! |
Beta Was this translation helpful? Give feedback.
-
This is fixed by: #681. Thanks for the report! Apparently no one had generated a 3D plot with different species that have the same color 😅 By the way the default colors are defined here: sisl/src/sisl/viz/data_sources/atom_data.py Lines 68 to 87 in ab45ef4 I did this at the very beginning and it does not make sense to show two different species in pink, but I had no idea what to use. Any suggestions of some default colors that I can take from some place? :) |
Beta Was this translation helpful? Give feedback.
Ok, thanks! I can reproduce the problem, I'll try to fix it tomorrow.
There must be something unique in this geometry that triggers a hidden bug because I can do
And I get the 3D plot without problems 😅