Recent Changes · Search:

Dispense


µSR

Chapters:

  1. Introduction
  2. The muon
  3. Muon production
  4. Spin polarization
  5. Detect the µ spin
  6. Implantation
  7. Paramagnetic species
  8. A special case: a muon with few nuclei
  9. Magnetic materials
  10. Relaxation functions
  11. Superconductors
  12. Mujpy
  13. Mulab
  14. Musite?
  15. More details

Tips

PmWiki

pmwiki.org

edit SideBar

MusrfitUsage

< Install Musrfit | Index | Rotation of Pauli matrices >


General pitfalls

  • global fits: must add 4-digit run labels to local variable!

Trensal run 2017

  • use pc12438.psi.ch, see HELP PSI
  • go to DeRenzi/
  • musredit
  • open e.g. 464_3ratios.msr file
  • choose a reference run (464 in this example)
  • modify the run number, the labelled parameters e.g Lamf_0464 (non global) the RUN filename
  • adjust the THEORY and FUNCTIONS (here three exponentials with constrained global alpha (fixed from calibration, error = 0), total amplitude, ratios,
  • map is a keyword for saying that the 5th, 6th and 7th parameter are added separately for each analysed run,
  • when clicking the fit/data button (Msr2Data) and choosing Run List 435 440 444 448 452 456 460 464 468 472 476 480 484 488 492, Template run number 464, Parameter Output File name TScanB100G3ratios.dat, ticking Write data header, Write column data, Take data file title, Global, it generates also a 435_global+3ratios.msr file (435 is the first run)
  • TScanB100G3ratios.dat is the equivalent of mulab's bababa.2-1dat file
  • copy on msurfit/trensal on pc34

These are RDR private notes . Examples

  • Fit WEP calibration with 2+3 as forward and 1+4 as backward when spin is rotated (TF geometry): here the two histograms, 2 and 1, are added, as well as 3 and 4. The fit reduces the TF asymmetry by averaging over a larger solid angle. It however serves as perfect calibration for a ZF run done in the same TF geometry (i.e. with spin rotator on, but no external field), where the same grouping can be used with no reduction of asymmetry. In this fit there are 4 t0 bins to set (press the musrt0 button and follow these instructions), but, successively, only two data and background boundaries (d, D, b, B), because the histograms are added together 2-by-2.
  • Fit showing use of map, i.e. independent fits of the same data set as above
  • Fit showing use of global fit (musr2data) for a temperature (or field) scan. The trick is naming the file with the run number of the template fit and the non global parameters with the same number appended. Hitting the musr2data button (Fit-to-DB icon) will offer a dialog with options (run selection to apply the global fit to, global tick, etc.)
  • A very similar starting file Fit without need for the special naming of non global parameters can be used for a standard chain fit of a temperature (field) scan. Simply do not tick global in the musr2data dialog.
  • Fit showing use of global fit with four histograms per run, used with map in separate F-B, U-D asymmetry theories, chisquare is sum of all fcns (see musrfit/Ga2O3/log, GPS stolen runs d2020 158-174)
 use a template: e.g.  in musrfit/trensal/lem/Ybtrensal_ML/1500G-ML-surface/3824_templ.msr
 msr2data: 
 Run list: 3824-3826
 Run list file name:
 Template Run mumber: 3824
 Data Output File Name: Au_1500G.dat
 tick Write data header, Write Column data, Take data file title, Recreate data file, estimate No, Write per-run-block chisq, Global
  • use of qtiplot to read Au_1500G.dat after the global fit
 import ASCII
 New table/Overwrite current window (if you selected one)
 Separator: SPACE
 Ignore first: 0 lines 
 Ignore lines containing: #
 Decimal separator 1,000/System locale setting
 Endline character: LF (Unix)
 Preview lines: 100
 First row as: Column names
 Simplyfy white spaces
  • click on error columns of interest and select the errorbar symbol, after X Y
  • click on pair of columns
  • to produce plot with two scales click on Plot/Special line-symbol/Double Y then click on panel Add error bars

< Install Musrfit | Index | Rotation of Pauli matrices >

Edit - History - Print - PDF - Recent Changes - Search
Page last modified on October 27, 2021, at 05:32 PM