Git Product home page Git Product logo

newns-anderson's Introduction

  • catchemi (link): A tool to compute energies from the Newns-Anderson model along with different orthogonalization schemes. See this paper for more details on the implementation and this paper for an application to single-atom alloys.
  • coeffnet (link): Predicting activation barriers through a chemically-interpretable, equivariant and physically constrained graph neural network. See this paper for details on implementation.
  • catmap (link): Implementation of the numbers-solver for solving a steady-state micro-kinetic model. See this paper for details about the implementation.
  • tpd-analyse (link): Implementation of a tool to analyse TPD spectra. See this paper for details about the implementation.
  • aiida-ase(link): AiiDA plugin for ASE.

newns-anderson's People

Contributors

sudarshanv01 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ritesh001

newns-anderson's Issues

Missing requirements `adjustText` and `CatChemi`

You may wish to update your requirements.txt to the following, as it's missing the bottom two dependencies. After this, and noting that python-flint (a CatChemi dependency) can be installed with conda but not pip (see here), everything is good to go!

numpy
scipy
matplotlib
ase
PyYAML
mpmath
adjustText
git+https://github.com/sudarshanv01/CatChemi.git

Initial guess length mismatch when `eps_a` is of type `list`

When running run_model.py, I get the following traceback. It seems to be that the initial guess list has length 5, but when this is unpacked in CatChemi, it's expecting a length of 3. Changing EPS_A_VALUES to a List[float] rather than List[List[float]] resolves the issue, so it's just related to when one wants to use multiple values for eps_a for a given adsorbate.

Fitting parameters for adsorbate ['CO'] with eps_a [[-7, 2.5]]
Fitting parameters for adsorbate CO with eps_a [-7, 2.5]
Initial guess:  [0.01, 0.01, 1.8849555921538759, 1.8849555921538759, 0.1, 0.1]
Traceback (most recent call last):
  File "run_model.py", line 176, in <module>
    fitting_odr = odr.ODR(data, fitting_model, initial_guess)
  File "/home/arosen/anaconda3/envs/na/lib/python3.8/site-packages/scipy/odr/_odrpack.py", line 784, in __init__
    self._check()
  File "/home/arosen/anaconda3/envs/na/lib/python3.8/site-packages/scipy/odr/_odrpack.py", line 845, in _check
    res = self.model.fcn(*arglist)
  File "/home/arosen/anaconda3/envs/na/lib/python3.8/site-packages/catchemi/NewnsAndersonRepulsion.py", line 72, in fit_parameters
    alpha, beta, constant_offset = args
ValueError: too many values to unpack (expected 3)

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.