Yafit is a java program, usually distributed as the file
yafit.jar. It requires a Java Runtime Environment (JRE)
version 1.4 or later to run.
The package comprises a number of different tasks;
tasks are called things like
plotobs. They are invoked
by giving the task name followed by a set of arguments, usually in
Each command and its arguments are described in detail in
There are two ways of invoking the program:
java -jar yafit.jar <task-name> <task-args>
yafit <task-name> <task-args>
yafitscript is a convenience for running on unix-like operating systems: if you don't have the script, you can extract it from the jar file like this:
unzip yafit.jar yafit chmod +x yafitTo run the script file, you must have the
javacommand on your path, and the
yafitscript should be in the same directory as
Invoking the program with the
-help flag gives a
summary of the available tasks:
yafit -help Usage: yafit [-help] [-version] [-verbose] [-debug] [-bench] <task-name> <task-args> yafit <task-name> -help Known tasks: fit funcs copymodel tableobs plotmodel plotobsUsage information (a list of parameters) for each individual task can be obtained by supplying the
-helpflag after the name of the task itself, e.g.
yafit fit -helpFull help for each command is given in the reference section, Appendix A.