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

MulabMultiplot

< Finer points about fit components | Index | How to hack GUI windows >


  • Load the run suite in the desired order, say fro low T to high T
  • plot the first run, whatever fit and range
  • execute the following commands from the matlab command window
    • global MU_DATA
    • time = MU_DATA.TIME;
    • asymm = MU_DATA.ASYMMETRY;
    • asyme = MU_DATA.ASYMERROR;
  • load next run (repeat until complete)
  • plot and execute the following commands
    • global MU_DATA
    • asymm = [asymm; MU_DATA.ASYMMETRY];
    • asyme = [asyme; MU_DATA.ASYMERROR];
  • when complete execute save, e.g.
    • save('/home/roberto.derenzi/mulab/projects/MST/run_06_22/gps/Mn86Sb2Te4/MST86ZF.mat','time','asymm','asyme')
  • the arrays can be reloaded in matlab, by load, or in python by
    • from scipy.io import loadmat
    • data = loadmat('/home/roberto.derenzi/mulab/projects/MST/run_06_22/gps/Mn86Sb2Te4/MST86ZF.mat')
    • time = data['time'][0]
    • asymm = data['asymm']
    • asyme = data['asyme']

< Finer points about fit components | Index | How to hack GUI windows >

Edit - History - Print - PDF - Recent Changes - Search
Page last modified on December 27, 2023, at 11:36 AM