Universal scattering data fitting tool
Project description
README for ufit
===============
ufit is a universal scattering data fitting package for use in
noninteractive scripts, and with a graphical user interface.
It handles complex fitting functions by combining them from
pre-defined "model" objects and handling parameter constraints
and interdependencies well.
Fitting is done by one of several backends:
* lmfit (L-M leastsq that allows parameter constraints)
* minuit (pyminuit 1 or 2)
* scipy (basic L-M leastsq from scipy.optimize)
Results can be easily plotted and further processed. Plotting
is handled by matplotlib.
The GUI uses PyQt 4.
Icons by Yusuke Kamiyamane. Licensed under a Creative Commons Attribution 3.0 License.
See http://p.yusukekamiyamane.com/.
Generating Windows EXEcutables and installation
===============================================
Generation of the Windows executables is done in PyInstaller.
Recommended way is using Single Folder script:
Generate:
in the base-directory run:
pyinstaller ufit_singlefolder.spec [-y] [--clean]
-y option will overwrite everything in dist directory
--clean will generate everything fro scratch
Result:
A Folder named 'ufit' in the folder 'dist', in which you can find all
the files you need to run the 'Ufit.exe' contained in said folder.
Because this is not easy to distribute to the end users,
it is reccomended to create installer. Use open source installer NSIS.
Tool can be downlaoded from: http://nsis.sourceforge.net/
Open the tool and run script Ufit-Install.nsi from the root folder.
The result will be one ca 180 MB big install file,
which can be distributed to the users.
There is also possible to generate single file executable by running:
pyinstaller ufit_singlefile.spec [-y] [--clean]
This option will be very slow to start the ufit and therefore it is not recommended.
Remarks for PyInstaller:
Created files are big, because they do not use UPX packaging.
The reason is, that upx will create some problems with QT and
will cause Ufit to crash by memory violation exception.
===============
ufit is a universal scattering data fitting package for use in
noninteractive scripts, and with a graphical user interface.
It handles complex fitting functions by combining them from
pre-defined "model" objects and handling parameter constraints
and interdependencies well.
Fitting is done by one of several backends:
* lmfit (L-M leastsq that allows parameter constraints)
* minuit (pyminuit 1 or 2)
* scipy (basic L-M leastsq from scipy.optimize)
Results can be easily plotted and further processed. Plotting
is handled by matplotlib.
The GUI uses PyQt 4.
Icons by Yusuke Kamiyamane. Licensed under a Creative Commons Attribution 3.0 License.
See http://p.yusukekamiyamane.com/.
Generating Windows EXEcutables and installation
===============================================
Generation of the Windows executables is done in PyInstaller.
Recommended way is using Single Folder script:
Generate:
in the base-directory run:
pyinstaller ufit_singlefolder.spec [-y] [--clean]
-y option will overwrite everything in dist directory
--clean will generate everything fro scratch
Result:
A Folder named 'ufit' in the folder 'dist', in which you can find all
the files you need to run the 'Ufit.exe' contained in said folder.
Because this is not easy to distribute to the end users,
it is reccomended to create installer. Use open source installer NSIS.
Tool can be downlaoded from: http://nsis.sourceforge.net/
Open the tool and run script Ufit-Install.nsi from the root folder.
The result will be one ca 180 MB big install file,
which can be distributed to the users.
There is also possible to generate single file executable by running:
pyinstaller ufit_singlefile.spec [-y] [--clean]
This option will be very slow to start the ufit and therefore it is not recommended.
Remarks for PyInstaller:
Created files are big, because they do not use UPX packaging.
The reason is, that upx will create some problems with QT and
will cause Ufit to crash by memory violation exception.
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
ufit-1.0.1.tar.gz
(487.6 kB
view details)
File details
Details for the file ufit-1.0.1.tar.gz
.
File metadata
- Download URL: ufit-1.0.1.tar.gz
- Upload date:
- Size: 487.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a1a6ec06b8114814b3471c9a9507c5d810bc1be63029b0a0e387fce32a6d0f3 |
|
MD5 | bd12740425ccf1d1defc45afb271e36a |
|
BLAKE2b-256 | 5a1aa768cc220f1e4d1d2ee5e28d0a322a76deb8124ab7453592308202066aaf |