Git Product home page Git Product logo

Comments (6)

kjappelbaum avatar kjappelbaum commented on May 29, 2024 1

Implementing this feature would also require having an origin and some kind of alignment/orientation relative to the unit cell. Hmm..

Once you have the fractional coordinates and the coordinates from the pairwise distance matrix you can compute, e.g. using the Kabsch algorithm, the optimal rotation onto each other.
However, not sure how what one should do if they do not match up: Average, take one (which one?), fail if the disagreement is too large ...

from xtal2png.

kjappelbaum avatar kjappelbaum commented on May 29, 2024

Lilienfeld et al. also generated distance matrices using an ML model they used dgsol to go from distance matrix to coordinates. Here's the download https://www.mcs.anl.gov/~more/dgsol/. I didn't see any Python bindings though.

from xtal2png.

sgbaird avatar sgbaird commented on May 29, 2024

Interesting that it supports using sparse pairwise distance matrices. Looking at the citations to one of the early dgsol papers, I'm realizing how rich the literature is for this topic, but a bit disappointed by the sparsity (esp. in Python) on GitHub [1][2]. The idea of being able to constrain based on lower and upper bounds and uncertainties came up in the context of molecular reconstruction.

I guess there's a CMake version of dgsol. I'm vaguely familiar with building external software (e.g. C++ code) as a part of packaging conda packages. dgsol or similar might still be worth exploring.

EDIT: https://github.com/wjakob/nanobind_example could be helpful. Not sure.

from xtal2png.

sgbaird avatar sgbaird commented on May 29, 2024

Implementing this feature would also require having an origin and some kind of alignment/orientation relative to the unit cell. Hmm..

#119

from xtal2png.

sgbaird avatar sgbaird commented on May 29, 2024

Alternative would be to use site-to-site x,y,z vectors as RGB encodings rather than a pairwise distance matrix, which is what @michaeldalverson is doing right now.

from xtal2png.

sgbaird avatar sgbaird commented on May 29, 2024

Came across another repo that might be of interest here: https://github.com/stevenygd/PointFlow

from xtal2png.

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.