xrdfit

xrdfit: A Python package for fitting synchrotron X-ray diffraction spectra - Published in JOSS (2020)

https://github.com/lightform-group/xrdfit

Science Score: 95.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 3 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords from Contributors

mesh

Scientific Fields

Engineering Computer Science - 40% confidence
Last synced: 6 months ago · JSON representation

Repository

Fitting of peaks from SXRD experiment for single and dual-phase Zr and Ti alloys.

Basic Info
Statistics
  • Stars: 8
  • Watchers: 6
  • Forks: 12
  • Open Issues: 1
  • Releases: 8
Created over 6 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Contributing License Code of conduct

README.md

PyPI version Documentation Status DOI Binder .github/workflows/test_notebooks.yaml

Introduction

xrdfit is a Python package for fitting the diffraction peaks in synchrotron X-ray diffraction (SXRD) and XRD spectra. It is designed to be an easy to use tool for quick analysis of spectra. Features are included for automating fitting over many spectra to enable tracking of peaks as they shift throughout an experiment. xrdfit uses the Python module lmfit for the underlying fitting. xrdfit is designed to be accessible for all researchers who need to process SXRD spectra and so does not require a detailed knowledge of programming or fitting.

Installation

To install as a Python module, type

python -m pip install xrdfit

from the root directory. For developers, you should install in linked .egg mode using

python -m pip install -e .

If you are using a Python virtual environment, you should activate this first before using the above commands.

Documentation

Documentation including an API reference is provided at: https://xrdfit.readthedocs.io/en/latest/

The majority of the documentation is provided as example driven interactive Jupyter notebooks. These are included along with the source code in the "tutorial notebooks" folder. If this package was downloaded from pip, the source can be found on GitHub: https://github.com/LightForm-group/xrdfit

Try it out

You can try out xrdfit directly in your browser with Binder by clicking here.

Note that Tutorial Notebook 4 will not run correctly in Binder as it requires the download of a supplementary dataset which is not included in the source repository due to its size.

Compatibility

The latest version of xrdfit was tested with Python version 3.10. The minimum required Python version is 3.7.

Required libraries

This module uses the Python libraries: * NumPy * matplotlib * pandas * dill * tqdm * SciPy * lmfit

The following libraries are required to use the tutorial documentation workbooks: * Jupyter

Owner

  • Name: LightForm
  • Login: LightForm-group
  • Kind: organization
  • Email: lightform@manchester.ac.uk
  • Location: Manchester, UK

LightForm EPSRC Programme Grant

JOSS Publication

xrdfit: A Python package for fitting synchrotron X-ray diffraction spectra
Published
August 31, 2020
Volume 5, Issue 52, Page 2381
Authors
Peter Crowther ORCID
The University of Manchester, UK
Christopher S. Daniel ORCID
The University of Manchester, UK
Editor
Jeff Gostick ORCID
Tags
crystallography x-ray diffraction synchrotron material structure peak fitting data analysis

GitHub Events

Total
  • Issues event: 1
  • Fork event: 1
Last Year
  • Issues event: 1
  • Fork event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 219
  • Total Committers: 3
  • Avg Commits per committer: 73.0
  • Development Distribution Score (DDS): 0.096
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Peter Crowther 1****t 198
Christopher Daniel c****l@m****k 19
dependabot[bot] 4****] 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 56
  • Total pull requests: 3
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 7 months
  • Total issue authors: 10
  • Total pull request authors: 2
  • Average comments per issue: 1.45
  • Average comments per pull request: 0.67
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • merrygoat (37)
  • mikapfl (5)
  • christopher-daniel (4)
  • JQFonseca (3)
  • KedoKudo (2)
  • DanielDosSantosAvila (1)
  • jack2333 (1)
  • KoziolAd (1)
  • joerivan (1)
  • schooft (1)
Pull Request Authors
  • dependabot[bot] (2)
  • Mats-Student-Olie (1)
Top Labels
Issue Labels
enhancement (9) bug (4) documentation (1)
Pull Request Labels
dependencies (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 32 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 6
  • Total maintainers: 1
pypi.org: xrdfit

Automated fitting of XRD peaks using Pseudo-Voight fits

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 32 Last month
Rankings
Dependent packages count: 10.0%
Forks count: 11.4%
Average: 17.7%
Stargazers count: 21.5%
Dependent repos count: 21.7%
Downloads: 23.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • PyYAML *
  • dill *
  • ipywidgets *
  • lmfit *
  • matplotlib *
  • notebook *
  • numpy *
  • pandas *
  • tqdm *
setup.py pypi
  • dill *
  • ipywidgets *
  • lmfit *
  • matplotlib *
  • notebook *
  • numpy *
  • pandas *
  • tqdm *