This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ufit:help:tips [2017/10/23 10:00] – created pcermak | ufit:help:tips [2017/10/24 07:28] (current) – [Fit curve from the file] pcermak | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== GUI Tips & Tricks ====== | ====== GUI Tips & Tricks ====== | ||
- | {{ :ufit:bulb.svg? | + | {{ :ufit:tips.svg? |
- | * Use of complex fitting functions | + | ===== Change |
- | * Select between several backends | + | |
- | | + | Open iPython console and write commands. |
- | * minuit - uses the [[http:// | + | |
- | * scipy.optimize - uses the scipy.optimize.leastsq function without any further wrapping | + | To see temperature in legend of charts: |
- | * Easy plotting by matplotlib | + | |
- | * 1D plots of scans, automatic determination of axes | + | |
- | * 2D color maps of several datasets | + | if hasattr(aa, ' |
- | * Fast merging | + | aa.data.oldname=aa.data.name |
- | | + | aa.data.name=aa.data.environment[0] |
- | | + | |
- | * Fit more datasets together | + | |
+ | To put some parameter to all scan titles (in this example it is parameter gamma): | ||
+ | |||
+ | for aa in D: | ||
+ | if hasattr(aa, ' | ||
+ | aa.data.oldtitle=aa.data.meta.title | ||
+ | aa.data.meta.title += ', stt=%0.2f' | ||
+ | |||
+ | ===== Fit curve from the file ===== | ||
+ | |||
+ | It is possible to have a spectrum/ | ||
+ | |||
+ | | ||
+ | |||
+ | Replace **C: |