Git Product home page Git Product logo

phonofit's People

Contributors

bernstei avatar gabor1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phonofit's Issues

overall API/CLI design

A top level design of the API and CLI would be useful. Could be here, could be in the main README, since it'll be needed as docs eventually anyway. Current process:

  • phonons_setup(): takes an atoms structure and phonopy control params (supercell, displacement) and returns a list of displaced configs
  • do your own calculation, store the resulting forces in a cached Calculator
  • phonons_process(): takes configs with stored forces, returns force constants
  • analysis
    • phonons_analyze_bands(): takes force constants, calculate bands along requested path
    • phonons_analyze_eigenvectors(): takes force constants, calculates eigenvectors and stores them in Atoms.arrays entries

All phonopy specific content is reconstructed as needed from actual atomic configurations and sometimes extra stuff stored in Atoms.info (e.g. the primitive cell that was used to construct the displaced supercells), so you only have to pass one data structure from one stage to the next.

There's also a routine, phonons(), that does all of these in series, with a passed-in ASE calculator, and does some saving/loading of the expensive steps (currently only force calculation).

TODO

  • make it possible to get forces from an arrays item rather than a cached calculator.
  • add controls for phono3py displacements (different supercell, atom pair cutoff, displacement)

What else?

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.