Skip to main content

CCFIT2 is a program for fitting AC and DC magnetisation data

Project description

ccfit2

ccfit2 is a package for fitting AC and DC magnetisation data to obtain magnetic relaxation rates, and then to model the field- and/or temperature-dependence of these rates with parameterised models of spin-phonon coupling mechanisms.

Installation

Users - executable version (AC only)

Download and install the executable version of ccfit2 from here.

Users - command line version and module (Full functionality)

Install ccfit2 with pip

pip install ccfit2

Developers

First uninstall any other copies of ccfit2

pip uninstall ccfit2

In the HEAD directory of the repository, run

pip install -e .

to install an editable version of the package.

Documentation

The online documentation for ccfit2 is a work in progress and can be found here.

Up-to-date, but to-be-replaced, PDF documentation can be found in the old_docs directory of this repository.

Compiling standalone ccfit2 executable

First, install the required packages listed in setup.py using pip.

Linux

Install pyinstaller

pip install pyinstaller

Then run

mv ccfit2_exe.py ccfit2.py
pyinstaller --onefile ccfit2.py
mv ccfit2 ccfit2.x
mv ccfit2.py ccfit2_exe.py

Windows

Install pyinstaller

pip install pyinstaller

Then run

mv ccfit2_exe.py ccfit2.py
pyinstaller --onefile --icon=ccfit.ico ccfit2.py
mv ccfit2.py ccfit2_exe.py

MacOS:

Install py2app

python3 -m pip install -U py2app

Then run

mv ccfit2_exe.py ccfit2.py
py2applet --make-setup ccfit2.py
python3 setup.py py2app --packages=PIL,ssl
mv ccfit2.py ccfit2_exe.py

Then add the ccfit2 logo to .app file using the info window, and compress ccfit2.app for download.

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

ccfit2-4.2.10.tar.gz (52.0 kB view hashes)

Uploaded Source

Built Distribution

ccfit2-4.2.10-py3-none-any.whl (54.3 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