Fits azimuth/time dependency of peaks with Fourier Series descriptions
Project description
Fourier-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.dev1.tar.gz
.
File metadata
- Download URL: continuous-peak-fit-0.0.1.dev1.tar.gz
- Upload date:
- Size: 70.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc999f2dce9d5f3c512f24b4ecee05410c622dd32f423d610711f2e3edbbe813 |
|
MD5 | b59f501d83a730e6adfb10b0df09ffe6 |
|
BLAKE2b-256 | ab7e94c4b565df82a19dd94a90aee4965710012621045309b9fe78640404a268 |
File details
Details for the file continuous_peak_fit-0.0.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: continuous_peak_fit-0.0.1.dev1-py3-none-any.whl
- Upload date:
- Size: 78.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7fe5f5f40c21ba6b897854d0614059e2f01619249f7731502cc18214ce00c9a |
|
MD5 | a9a16670cbe00c7fba304af783cb3e12 |
|
BLAKE2b-256 | 4b96ccea93600651ca1beb81f5cb6b2457c22e5fdaaa7beafd2f2f2771ee4c61 |