Skip to content

Use Cases #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sbillinge opened this issue Apr 24, 2025 · 3 comments
Open

Use Cases #5

sbillinge opened this issue Apr 24, 2025 · 3 comments

Comments

@sbillinge
Copy link
Contributor

UC 1 - compute amd from a structure

  1. Simon wants to compute the amd from a structure as he is working in diffpy-cmi
  2. Simon passes the structure to diffpy.similarity (ds)
  3. ds computes the amd and returns it simon

UC 2 - pdd

  1. as UC1.-1.3 but Simon wants to compute the pdd

UC 3 - amd-similarity

  1. Tina wants to compute the amd similarity (amd-s) between two structures
  2. Tina gives both structures to amd_s()
  3. amd_s computes the amd-s and returns it to Tina

UC4 - pdd

  1. As UC3.1 - 3.3 but Tina wants the pdd-s

UC 5 - to scale

  1. As UC3 but a pairwise computation of amd or pdd (or whatever similarity measure we have in the future) over a large set of structures with good performance
@Sparks29032
Copy link
Contributor

Desirable functions:

  • Take in structure objects and return x metric (e.g. amd)
  • Take in two structure objects and return the similarity given x metric (e.g. amd_s)
    • Can also take n structure objects and return a similarity matrix
      • Background for performance issues (i.e. do not want to recompute n amds)

@sbillinge
Copy link
Contributor Author

sbillinge commented May 1, 2025

UC6 - paper UC

  1. Andrew wants to compare how different metrics perform on a set of structures
  2. Andrew makes a query on his database of structures to return a set of structures
  3. Andrew's db program returns a set of structures as structure objects
  4. Andrew tells ds which similarity metrics he is interested in
  5. Andrew gives the set of structures to diffpy.similarity (ds)
  6. ds computes the similarity between all structures with each similarity metric
  7. ds returns the set of correlation matrices between pairs of similarity metrics

@sbillinge
Copy link
Contributor Author

UC7 Till wants to figure out which is the best metric for his needs

  1. Till has a set of MOFs where he has some feeling about how similar they are
  2. Till gives his set of mof structure to ds
  3. Till requests a visualization of the similarity map
  4. Till requests a set of measures
  5. Till requests a reference material to compute distances to
  6. ds computes the similarity map by selecting an origin
  7. ds returns a the similarity map for each metric
  8. Till zooms and scrolls the map
  9. Till mouse-overs dots and they tell him what the structure was
  10. Till specifies a distance threshold and ds outputs all the structures that are within that distance of the target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants