Skip to content

melko/qfit

Repository files navigation

qfit is a small data analysis software that can do fits.

The project is to make a cli and a Qt interface based on FitTools.

#############################################################################

Building qfit (linux)
-------------------------

cmake allows to build sources in a different folder so that there is no
mix between sources and blobs.
In order to build qfit you need at least a compiler,
cmake is also recommended.

From the root dir:

$ cmake -B build
$ cmake --build build
$ cmake --build build --target install # may need super-user privileges

Qt5 libs are needed to build the Gui, if you want the plot widget also
the Qwt libs are needed (you need at least Qwt6, Qwt5 won't work).

you can state some arguments to cmake to change the default behaviour

WITH_GUI=OFF    to build just the cli
WITH_QWT=OFF    to build without the plot Widget

example:
$ cmake -B build -D WITH_GUI=OFF

Meson build files are provided as well, to build with meson:

$ meson build
$ ninja -C build
$ ninja -C build install

*WARNING*
A lot of distributions like Ubuntu, Fedora & co split headers from libraries,
(usually splitted packages have a -dev or -devel suffix).
In order to build qfit gui, you need these headers (qt5-dev and qwt-dev),
while they aren't needed to run the binary.

#############################################################################

File format
-------------------------

qfit can read just simple text files. A data file must have at least two
columns (the first for the x data and the second for the y data).
If you don't set explicity a custom error value for the y array, the
file must have also a third column for the y errors!

#############################################################################

Thanks to the Qt framework, qfit should work also for platforms different
than linux, but of course these are not supported by me.

About

A small data analysis project.

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published