GithubHelp home page GithubHelp logo

unitcellj's Introduction

UnitCellJ

A Jupyter notebook for unit cell fitting

DOI

Unit-cell parameter fitting with statistical indices for outlier points.

This notebook shows how to conduct unit-cell fitting using the strategy presented in Holland and Redfurn (1997) using the statsmodels and lmfit packages.

You need Miller index and two theta angle for the input.

Often unit cell fitting is an iterative process. Peak positions obtained from peak fitting can be biased by a range of issues, including peak overlap and weak intensity. Therefore, it is important to know which peaks are outtliers and which peaks are not.

Holland and Redfern proposed a robust statistical approach for this problem (read below).

T. J. B. Holland and S. A. T. Redfern (1997) "Unit cell refinement from powder diffraction data: the use of regression diagnostics". Mineralogical Magazine 61: 65-77.

Based on this approach, Holland and Redfern made a software package, UnitCell (see URL below). However, the software is outdated for the recent MacOS. Therefore, this notebook can provide a good alternative.

Major functions include:

  • Unit-cell fitting
  • Outlier statistics

(Note) 2022/03/04 Monoclinic and triclinic cells are not supported

How to cite

S.-H. Shim (2022) Unit cell fitting in Jupyter. Zenodo. http://doi.org/10.5281/zenodo.6344949

unitcellj's People

Contributors

shdshim avatar

Watchers

 avatar

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.