User Tools

Site Tools


ufit:help:tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
ufit:help:tips [2017/10/23 10:14] – [Fit background from the file] pcermakufit:help:tips [2017/10/23 10:15] pcermak
Line 21: Line 21:
              aa.data.meta.title += ', stt=%0.2f' % aa.data.meta.gamma              aa.data.meta.title += ', stt=%0.2f' % aa.data.meta.gamma
  
-===== Fit background from the file =====+===== Fit curve from the file =====
  
 It is possible to have a spectrum/background stored as a xy points in ASCII datafile. This command will load that file, interpolate between the loaded values and then fit the scale of such model. Just add this line to the **Model definition**: It is possible to have a spectrum/background stored as a xy points in ASCII datafile. This command will load that file, interpolate between the loaded values and then fit the scale of such model. Just add this line to the **Model definition**:
ufit/help/tips.txt · Last modified: 2017/10/24 07:28 by pcermak