Comments (6)
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.
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.
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.
Implementing this feature would also require having an origin and some kind of alignment/orientation relative to the unit cell. Hmm..
from xtal2png.
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.
Came across another repo that might be of interest here: https://github.com/stevenygd/PointFlow
from xtal2png.
Related Issues (20)
- JOSS paper review - Documentation HOT 3
- `func:` syntax issue in API docs HOT 2
- Add hardcoded reference image test once API is stable (i.e. in conjunction with results manuscript, `v1.0.0`)
- Add `element-coder` to `conda-forge` HOT 4
- Suggestion: Add CLI parameter for `max_sites`
- Bug: `xtal2png` error with fractional occupancy HOT 1
- JOSS paper review - Installation docs HOT 8
- JOSS paper review - Docs
- interpretability of models trained on xtal2png HOT 3
- Any acknowledgements that need to be added to `paper.md`? HOT 6
- Are the distance matrices periodic by default? HOT 1
- Generalization to building blocks rather than only atoms HOT 1
- Might be interesting to add GitHub action for repo-visualizer, and include the image in the contributing docs
- use `xtal2png` with `imagen-pytorch` and `matbench-genmetrics` HOT 6
- local variable 'arr' referenced before assignment due to list of lists
- Run matbench-genmetrics on the latest imagen-pytorch run (fixup mod-petti featurizer) HOT 1
- lower_tri mask type zeros out everything
- add masking to intro tutorial
- Predict synthesis routes for DFT-validated xtal2png structures
- Use something similar to Xie's decoder/denoiser architecture for the xtal2png representation (e.g. m3gnet)
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 xtal2png.