Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

continuous-peak-fit-0.0.1.tar.gz (74.7 kB view hashes)

Uploaded Source

Built Distribution

continuous_peak_fit-0.0.1-py3-none-any.whl (83.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page