Fits azimuth/time dependency of peaks with Fourier Series descriptions
Project description
Continuous-Peak-Fit
Installation
Installation is available through git or via pip
From git use
git clone https://github.com/ExperimentalMineralPhysics/Continuous-Peak-Fit.git
To install the required dependencies use, in the Continuous-Peak-Fit directory use
pip install requirements.txt
For pip installation use
pip install continuous-peak-fit
this should automatically install the required dependencies.
Usage
Continuous-Peak-Fit can be run in a number of ways but requires an inputs file containing information about where your data files are stored as well as information of the number of peak and appropriate ranges for the fit. Example data and inputs file are available in the Example1-Fe directory from the git repository.
If using a pip install an example inputs file can be generated using the 'CPF_generate_inputs' executable or from within python using
import cpf
cpf.generate_inputs()
Fitting can then be performed using
CPF_XRD_FitPattern <inputs_file>
from the command line
or from within python
import cpf
cpf.XRD_FitPattern.execute(settings_file=<inputs_file>)
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
Built Distribution
File details
Details for the file continuous-peak-fit-0.0.1.tar.gz
.
File metadata
- Download URL: continuous-peak-fit-0.0.1.tar.gz
- Upload date:
- Size: 74.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86126ea1f9aceee9e58043576061046f501dd5980578102e259ab6fa8e1553a4 |
|
MD5 | 34987266112b5b6fc920b97b20168d5f |
|
BLAKE2b-256 | b807c31ee6cf6cfa6bdc8fc13063a082cab172e7050649063b1ddd8680871ab5 |
File details
Details for the file continuous_peak_fit-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: continuous_peak_fit-0.0.1-py3-none-any.whl
- Upload date:
- Size: 83.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6241f74a7de57111a78d2af59352e94de8a42c4a1cdf47d7be6751ee6853181 |
|
MD5 | d482ad9090c1f67841a319bb8296f0b3 |
|
BLAKE2b-256 | 2aedbba2fa61845a1590f1ae8e8b3dedb1719a8d51a95a6294058e6ebb01ed26 |