Giter Site home page Giter Site logo

Comments (5)

Eigenstate avatar Eigenstate commented on July 17, 2024 1

I do need to update the code to 1.9.4... the main obstacle to this is I need to upstream all of my Python 3 compatibility stuff and now everything is so out of sync it'll take me a while... This is on my to-do list :)

I do work with volumetric data a lot and use gridDataFormats from mdanalysis which lets me work with volumetric data as numpy arrays: https://www.mdanalysis.org/GridDataFormats/. It'll both read and write dx files.

from vmd-python.

jvermaas avatar jvermaas commented on July 17, 2024

I think you'll want to look at the output of "help(atomsel)" after you've imported the atomsel interface in python. There is a mdffsim command that will get you the data directly. There is also a "get_volumetric" command within the "molecule" module that will get you a loaded volumetric dataset into a numpy friendly format.

from vmd-python.

jvermaas avatar jvermaas commented on July 17, 2024

Whoops, my bad. I introduced both of those features after 1.9.3 was released, so those features aren't included in these builds. In principle all you'd need to do is copy over py_molecule.C and py_atomsel.C from an alpha version of VMD or the public CVS repository.

from vmd-python.

OleinikovasV avatar OleinikovasV commented on July 17, 2024

In principle all you'd need to do is copy over py_molecule.C and py_atomsel.C from an alpha version of VMD or the public CVS repository.

@jvermaas , thanks, I have found now the previous thread about this in VMD mailing-list.
The source code of the post 1.9.3 (alpha) release is still not available on the website. I have requested a CVS account, however..
Still hoping that you will be able to patch it here soonish :)
Thanks a lot to you both!

from vmd-python.

jvermaas avatar jvermaas commented on July 17, 2024

Ok, I've updated the fork I've got of this, and added the updated version of py_molecule.C there. I'm not entirely positive that it works with python 3, mostly since I never tried.

from vmd-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.