Skip to content
/ ElMTree Public

An implementation of the list of clusters data structure in python to index materials datasets with respect to the Element Movers Distance for fast similarity searches. This includes a simple Flask application for hosting a live interface

License

Notifications You must be signed in to change notification settings

lrcfmd/ElMTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElMTree

An indexing class that is used in the backend of ElMTree and ElM2D searches. A flask application is also provided in ElMTree/app for hosting a simplified interface for custom searches.

This may be hosted privately, but note that we may not share data contained in the pickled indexing and ElMTree database binaries, which are necessary for the application to work. Please generate these files yourself using the script provided in main() in the file ElMTree/ElMTree.py.

Installation

Recommended installation is via pip:

pip install ElMTreeIndex

Which may then be used as so:

from ElMTree import ElMTree

elmtree = ElMTree(YOUR_LIST_OF_COMPOSITIONS_AS_STRINGS)
results = elmtree.knn("NaCl")

About

An implementation of the list of clusters data structure in python to index materials datasets with respect to the Element Movers Distance for fast similarity searches. This includes a simple Flask application for hosting a live interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published