autoXRD

Automatic XRD classification for thin-film materials using CNNs, Class Activation Maps and Data Augmentation

https://github.com/PV-Lab/autoXRD

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Automatic XRD classification for thin-film materials using CNNs, Class Activation Maps and Data Augmentation

Basic Info
  • Host: GitHub
  • Owner: PV-Lab
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 6.46 MB
Statistics
  • Stars: 50
  • Watchers: 9
  • Forks: 22
  • Open Issues: 2
  • Releases: 0
Created over 7 years ago · Last pushed over 6 years ago

https://github.com/PV-Lab/autoXRD/blob/master/

autoXRD
===========
## Description


autoXRD is a python package for automatic XRD pattern classification of thin-films, tweaked for small and class-imbalanced datasets. The main application of the package is high-throughput screening of novel materials.

autoXRD performs physics-informed data augmentation to solve the small data problem, implements a state-of-the-art a-CNN architecture and allows interpretation using Average Class Activation Maps (CAMs), according to the following publications:

"**Oviedo, F., Ren, Z., Sun, S., Settens, C., Liu, Z., Hartono, N. T. P., ... & Buonassisi, T. (2019). Fast and interpretable classification of small X-ray diffraction datasets using data augmentation and deep neural networks. npj Computational Materials, 5(1), 60."  Link: [https://doi.org/10.1038/s41524-019-0196-x](https://doi.org/10.1038/s41524-019-0196-x)**


"**Fast classification of small X-ray diffraction datasets using data augmentation and deep neural networks, (2019), Felipe Oviedo, Zekun Ren, et. al.  Link: [arXiv:1811.08425v](https://arxiv.org/abs/1811.08425v2)**

Accepted to NeurIPS 2018 ML for Molecules and Materials Workshop. Final version published npj Computational Materials 2019


## Installation

To install, just clone the following repository:

`$ git clone https://github.com/PV-Lab/autoXRD.git`

## Usage

Just run `space_group_a_CNN.py` , with the given datasets. Note that this performs classification for patterns into 7 space-groups. Dimensionality data is not included in the code, please contact authors if interested.
The package contains the following module and scripts:

| Module | Description |
| ------------- | ------------------------------ |
| `space_group_a_CNN.py`      | Script for XRD space-group classification with a-CNN      |
| `autoXRD`      | Module dedicated to XRD pattern preprocessing and data augmentation       |
| `autoXRD_vis`   | Visualizer module for class activation maps (CAMs)     |
| `Demo / XRD_dimensionality_demo.ipynb` | Notebook containing a demo for physics-informed data augmentation. This is a version with a modified CNN and no CAM to speed up the computation


## Authors
Felipe Oviedo and "Danny" Zekun Ren


||                    |
| ------------- | ------------------------------ |
| **AUTHORS**      | Felipe Oviedo and "Danny" Ren Zekun     | 
| **VERSION**      | 1.0 / May, 2019     | 
| **EMAIL OF REPO OWNER**      | foviedo@mit.edu  | 
||                    |

## Attribution

This work is under an Apache 2.0 License and data policies of Nature Partner Journal Computational Materials. Please, acknowledge use of this work with the apropiate citation.

## Citation

    @article{oviedo2019fast, 
    title={Fast and interpretable classification of small X-ray diffraction datasets using data augmentation and deep neural networks},
    author={Oviedo, Felipe and Ren, Zekun and Sun, Shijing and Settens, Charles and Liu, Zhe and Hartono, Noor Titan Putri and Ramasamy, Savitha and DeCost, Brian L and Tian, Siyu IP and Romano, Giuseppe and others},
    journal={npj Computational Materials},
    volume={5},
    number={1},
    pages={60},
    year={2019},
    publisher={Nature Publishing Group}}

Owner

  • Name: Accelerated Materials Laboratory for Sustainability
  • Login: PV-Lab
  • Kind: organization
  • Location: United States of America

GitHub Events

Total
  • Watch event: 1
  • Pull request event: 1
  • Fork event: 2
Last Year
  • Watch event: 1
  • Pull request event: 1
  • Fork event: 2

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 30
  • Total Committers: 2
  • Avg Commits per committer: 15.0
  • Development Distribution Score (DDS): 0.1
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
FELIPE OVIEDO 4****p 27
dannyzekunren d****n@g****m 3

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • Stulejarz (2)
Top Labels
Issue Labels
Pull Request Labels