Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > ce07aa474541757112fe85cc91236551 > files > 15

fityk-0.8.6-3mdv2009.1.i586.rpm

# Fityk 0.7.8
### the minimal example

@0 < '_EXECUTED_SCRIPT_DIR_/nacl01.dat'  # load data from file 

a = (23.0 < x < 26.0)  # disactivate data outside of (23.0,26.0) range.

%p = Gaussian(~60000, ~24.6, ~0.2) # define function %p with type Gaussian
                                   # and fittable parameters 

F += %p  # add function %p to curve, which will be fitted to data

fit # and fit using default fitting method with default settings

info+ %p # show some informations about peak %p