Comments (5)
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.
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.
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.
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.
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)
- Integration with VMD HOT 9
- Documentation updates? HOT 1
- Blank lines when writing a PDB HOT 5
- index / serial HOT 1
- render produce wrong output file when running through script HOT 2
- add label and specific color for some resid HOT 1
- DCD files HOT 1
- some problems in python HOT 3
- Cannot install vmd-python
- Does this package can invoke a VMD GUI or just uses the python-api of VMD HOT 1
- Use PSFgen version 2.0 HOT 2
- __init__.py not found HOT 2
- Installation error in vmd-python HOT 2
- number of frames is 0 HOT 3
- Build issues HOT 3
- Can't use topotools::mergetools when evaluating a tcl script. HOT 3
- Support for Python 3.10+ HOT 2
- Building with EGL support
- Building a water box fails randomly.
- Memory bleed (not dumping) issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vmd-python.