Simple tools to handle powder XRD (and XRD) data with Python
Project description
powerxrd
Simple tools to handle powder XRD (and XRD) data
Installation
pip install powerxrd
Usage Example
import powerxrd as xrd
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv('/your-path-to-powerxrd/sample1.xy', sep='\t', header=None)
x,y = np.array(df).T
x,y = xrd.backsub(x,y)
plt.plot(x,y)
plt.xlabel('2 $\\theta$')
Contributors
- Andrew Garcia - creator and maintainer
Contributing
- Fork it (https://github.com/your-github-user/tensorscout/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
powerxrd-0.0.8.tar.gz
(2.6 kB
view hashes)