Skip to content

libfp is a library for calculating crystalline fingerprints and measuring similarities of materials.

License

Notifications You must be signed in to change notification settings

Rutgers-ZRG/libfp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libfp

libfp is a library for calculating crystalline fingerprints and measuring similarities of materials (e.g., crystals, clusters, and molecules). The library is written in C with a Python interface.

Research papers where this code has been used include:

Installation

Prerequisites

Before installing libfp, ensure you have the following:

  • Python header files (python-dev)
  • C compiler (e.g., gcc, clang)
  • NumPy
  • OpenBLAS, LAPACK, or MKL

Installation Steps

You can install libfp using one of the following methods:

Option 1: Install from PyPI

To install the latest stable version from PyPI, simply run:

pip install libfp

Option 2: Install from source

  1. Clone the repository:

    git clone https://github.com/Rutgers-ZRG/libfp.git
    cd libfp
    
  2. Install using pip:

    pip install .
    

Usage

To use libfp in your Python project:

import libfp

# Your code here

Examples

Example Examples are found in examples directory.

Algorithm

The detailed algorithm of libfp is described in the following paper:

Acknowledgements

This library is derived from an original Fortran version, which I wrote during my postdoctoral work in Prof. Goedecker's research group at the University of Basel. I am grateful to Prof. Goedecker for his guidance during my postdoc period. I also acknowledge support from Rutgers startup funding and the National Science Foundation Division of Materials Research (NSF-DMR), under Grant No. 2226700.

About

libfp is a library for calculating crystalline fingerprints and measuring similarities of materials.

Resources

License

Stars

Watchers

Forks

Packages

No packages published