OpenChemistry / avogadrolibs

Avogadro libraries provide 3D rendering, visualization, analysis and data processing useful in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas.
https://two.avogadro.cc/
BSD 3-Clause "New" or "Revised" License
461 stars 173 forks source link

Python cube / volumetric data readers #361

Open ghutchis opened 6 years ago

ghutchis commented 6 years ago

There are a wide range of "cube" or volumetric data formats. The APBS support includes code for an OpenDX reader: https://github.com/OpenChemistry/avogadrolibs/blob/master/avogadro/qtplugins/apbs/opendxreader.h

It would be good to generalize this to allow other plugins (esp. in Python) for parsing other data types and formats (see, e.g. https://www.mdanalysis.org/GridDataFormats/gridData/formats.html)

There should then be a way to add / import cube data, e.g. in the surfaces extension.

ghutchis commented 12 months ago

See https://gemmi.readthedocs.io/en/latest/grid.html