[ase-users] [EXTERNAL] Pure python ASE viewer

Michael Joseph Waters michael.j.waters at northwestern.edu
Thu Aug 15 00:35:08 CEST 2019


Noam,

I'm also hoping to see what you've made!

If it helps, the add_isosurface_to_pov function uses skimage's very fast marching_cubes_lewiner implementation to generate the isosurface vertices. It might be easier to repurpose some of that code to save time.

Cheers,
-Mike Waters
________________________________
From: ase-users-bounces at listserv.fysik.dtu.dk <ase-users-bounces at listserv.fysik.dtu.dk> on behalf of Hermes, Eric via ase-users <ase-users at listserv.fysik.dtu.dk>
Sent: Wednesday, August 14, 2019 4:51 PM
To: Noam Bernstein <noam.bernstein at nrl.navy.mil>; ase-users <ase-users at listserv.fysik.dtu.dk>
Subject: Re: [ase-users] [EXTERNAL] Pure python ASE viewer

Noam,

It is hard to make any sort of judgment without seeing or experiencing the tool. I like the idea of being able to render isosurfaces, and improved shading would also be nice. Once you have a working prototype, please share a link with the mailing list.

--
Eric Hermes
Postdoctoral Researcher
Sandia National Laboratories

On 8/14/19, 11:27, "ase-users-bounces at listserv.fysik.dtu.dk on behalf of Noam Bernstein via ase-users" <ase-users-bounces at listserv.fysik.dtu.dk on behalf of ase-users at listserv.fysik.dtu.dk> wrote:

    Just a question for ASE users - is there any interest in a purely python viewer of ASE atomic configurations that can do prettier output than the ase-gui, but doesn't rely on a whole separate program such as rasmol, avogadro, etc)?

    The basic idea is to use vtk to do reasonably pretty (shaded, lighting, but not ray-traced) balls and sticks for atoms/bonds, and isosurfaces (e.g. using the ase.io VASP CHGCAR reader).  The GUI mostly lets you rotate and pick with the mouse, but anything more complex is done with a command line (using readline for command history and argparse for self-documenting command syntax).  It can also support arbitrary resolution rendering and movie creation (internally piping into ffmpeg).  I’ve been very happy with vtk’s capabilities, which make it surprisingly easy to do things that are pretty complex (e.g. that arbitrary resolution rendering, or slices through volumetric data), so it feels like this could be a tool that would support a wide range of additional features.  Using python also means that there’s the possibility of running fairly arbitrary ase functions on the atoms structures from the command line.

    I’m working on such a tool for myself, and am just wondering how much interest there would be for me to release it in some form.  If you think it would be useful (or have a well formed opinion on why it’s not likely to be an improvement over some existing tool that I missed), I’d be interested to find out.

                                                         Noam
    _______________________________________________
    ase-users mailing list
    ase-users at listserv.fysik.dtu.dk
    https://urldefense.proofpoint.com/v2/url?u=https-3A__listserv.fysik.dtu.dk_mailman_listinfo_ase-2Dusers&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=IWIXV02QNefgPQmc-Ovk6evJ6KEOZjyl5g4atrVIlcJ4WAvRgH8dNpuAIeIrVHn4&m=m73B9J_JpKNsu8nDSUB65Ji5hV_I5UowlpDAZ6TU_Uw&s=qP668K7qjEMbKROn1GoEycWuc-4esjXj524VQ7KnFfM&e=


_______________________________________________
ase-users mailing list
ase-users at listserv.fysik.dtu.dk
https://urldefense.proofpoint.com/v2/url?u=https-3A__listserv.fysik.dtu.dk_mailman_listinfo_ase-2Dusers&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=IWIXV02QNefgPQmc-Ovk6evJ6KEOZjyl5g4atrVIlcJ4WAvRgH8dNpuAIeIrVHn4&m=m73B9J_JpKNsu8nDSUB65Ji5hV_I5UowlpDAZ6TU_Uw&s=qP668K7qjEMbKROn1GoEycWuc-4esjXj524VQ7KnFfM&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20190814/afffc7a9/attachment-0001.html>


More information about the ase-users mailing list