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

MulabFlow

< The internal structure of mulab: Globals | Index | The internal structure of mulab: Model functions >


This page describes who calls who, as of 26/01/2015. Actual mulab functions are musmthng (lowercase, always with a prefix mu). In the following they are referenced instead as MUSMTHNG (UPPERCASE). MULAB, MUFIT_GUI, FMINUIT are listed first, then the others are in alphabetical order. Fitting model functions are listed separately

Entry point: MULAB
initialises the essentials and a a few globals
calls MU_INITIALIZE_MODELS, MUGETCOMPONENT, MUFIT_GUI
uses MU_VERSION, MU_GEAR, MU_FIG, MU_PATH, MU_MODEL

MUFIT_GUI
heart of mulab, produces the main fit GUI, start all other tasks
calls MUCD, MUSET, MUCANLOAD, MULOAD, MUADD, MUCREATEMODEL, MULDMODEL, MUEDITMODEL, MUUPDATEMODEL, MUVALIDATEMODEL, MUEXTRACTFLAG, MUCOMP, MUPAR, MUGROUP, MUFIT, MUPLOT, MUPLOTFIT, MUPLOTOVER, MUPLOTPAR, MUFFTRES, MULISTCOMPONENTS, MULABSAVE, MUSGROUP
called by MULAB
uses,

FMINUIT
CERN fitting routine by F. James, ported to matlab by G. Allodi calls MUFCN
called by MUFIT

MUADD
loads a new run, adding its dataset to the existing dataset. Can be iterated.
calls
called by MUFIT_GUI
uses

MUASYMMETRY
calls
called by MUFIT, MUSAVECHI2
uses

MUCANLOAD
calls
called by MUFIT_GUI
uses

MUCD
calls
called by MUFIT_GUI
uses

MUCOMP
calls
called by MUFIT_GUI, MUPARSE
uses

MUCOUNTPAR
counts number of pars in present fit model
calls
called by MUEDITMODEL
uses MU_MODEL

MUCREATEMODEL
% usage MUCREATEMODEL(NAME) % % NAME = codename for the model (e.g. 'damu') % creates a model made by several components % parsing the codename (e.g. 'damu') and loking for components % from the list defined in mu_initialize_components

calls MUGETCOMPONENT
called by MUFIT_GUI
uses

MUEDGE
computes t0 for ISIS (used in a FMINUIT call in MUSET)
calls
called by MUSET
uses

MUEDITMODEL
% usage mueditmodel % % offers to Append, Delete, Replace a component or to Erase the model

calls MUCOUNTPAR, MUGETCOMPONENT, MULISTCOMPONENTS, MUMODELLIST, MUTXTMENU
called by MUFIT_GUI
uses

MUEXTRACTFLAG
calls MUPARSE
called by MUFIT_GUI
uses

MUFCN
combines the model fitting function into a chisquare
calls
called by MUFIT, FMINUIT, MUFFTRES, MUPLOTFIT
uses

MUFFTRES
calls MUFCN, MUSGROUP
called by MUFIT_GUI
uses

MUFIT
calls MUASYMMETRY, MUPAR, FMINUIT, MUFCN, MUSUMMARY, MUPLOTFIT, MUPROFCN MUSAVEMODEL, MUPARSE
called by MUFIT_GUI
uses

MUGETCOMPONENT
% unpacks the standard name of the fit, e.g. babamu % into its components ba,ba, and mu % producing the index vector n such that n(i) is the i-th component % in the general list MU_COMPONENT generated by mu_initialize_models calls
called by MULAB, MUCREATEMODEL, MUEDITMODEL, MUMODELLIST, MUPAR, MUVALIDATEMODEL
uses

MUGROUP
calls
called by MUFIT_GUI
uses

MUGROUPTAG
creates a short grouping tag for the file names
calls MUSGROUP
called by MUPLOTPAR, MUSAVEMODEL, MUSUMMARY
uses

MUGUESST0
calls
called by MULIST, MULOAD
uses MU_GEAR

MUGUI2MINUIT
counts position of parameter in fminuit par list from position in mufit_gui window calls
called by MUPLOTPAR
uses MU_MODEL

MU_INITIALIZE_MODELS
calls MUBACKGROUND
called by MULAB
uses

MULABSAVE
calls
called by MUFIT_GUI
uses

MULISTCOMPONENTS
calls
called by MUFIT_GUI, MUEDITMODEL
uses

MULOAD
loads data; from version 1.05.1 psi data is now loaded by psiclassload (psi class by A.Amato ported to matlab by G Allodi)
calls MUGUESST0
called by none
uses

MULDMODEL
calls
called by MUFIT_GUI
uses

MUMODELLIST
calls
called by MUEDITMODEL
uses

MUPAR
calculates the number of parameters passed to fminuit by this model, and provides the plot panel for each parameter (0=do not plot) calls MUGETCOMPONENT
called by MUFIT_GUI, MUFIT
uses MU_COMPONENT MU_MODEL MU_MODEL_F

MUPARMINUIT
calls
called by MUPLOTPAR
uses MU_MODEL

MUPARSE parses linear relations
calls MUCOMP
called by MUEXTRACTFLAG, MUFIT, MUPLOTFIT
uses MU_MODEL

MUPLOT
calls
called by MUFIT_GUI
uses

MUPLOTFIT
calls MUFCN, MUSGROUP, MUPARSE, MUREBIN, MURF
called by MUFIT_GUI, MUFIT
uses

MUPLOTOVER
calls MUREBIN
called by MUFIT_GUI
uses

MUPLOTPAR
calls MUGROUPTAG, MUGUI2MINUIT
called by MUFIT_GUI
uses

MUPROFCN
part of old MUFIT
handles conversion from external to internal parameter list in fminuit
and translates linear relations into matlab commands
called by MUFIT, MUSAVECHI2
uses MU_MODEL

MUPROMPT
fit functtion for PSI prompt peak to determine t0
calls none
called by MUSET
uses

MUREBIN
rebins data
calls
called by MUPLOTFIT, MUPLOTOVER uses MU_MODEL

MURF
prepares data for plot of fitted asymmetry in the rotating frame
calls
called by MUPLOTFIT
uses MU_GEAR MU_MODEL MU_DATA

MUSAVEMODEL
calls MUGROUPTAG
called by MUFIT
uses

MUSET
calls MUEDGE, MUPROMPT
called by MUFIT_GUI
uses

MUSGROUP
encodes detector grouping ina string
calls
called by MUGROUPTAG, MUFFTRES, MUFIT_GUI, MUPLOTFIT, MUSUMMARY
uses MU_MODEL, MU_PLOT

MUSUMMARY
calls MUGROUPTAG, MUSGROUP
called by MUFIT
uses

MUTXTMENU
naive selection dialog
calls
called by MUEDITMODEL
uses

MUUPDATEMODEL
calls
called by MUFIT_GUI
uses

MUVALIDATEMODEL
calls MUGETCOMPONENT
called by MUFIT_GUI
uses


utilities

MULIST
calls MUGUESST0
called by handuses

MURTR
lists temperatures

MUSAVECHI2
writes a mat file with chi2 of a model over a series of data sets recovered from .fit files
calls FMINUIT, [#MUASYMMETRY|MUASYMMETRY]], MULOAD, MUPAR, MUPROFCN
called by hand, see help musavechi2(
uses MU_DATA, MU_MODEL, MU_MODEL_F, MU_PATH

language corrections:

cell2mat(varargin(k)) -> varargin{k}


< The internal structure of mulab: Globals | Index | The internal structure of mulab: Model functions >

Edit - History - Print - PDF - Recent Changes - Search
Page last modified on May 09, 2016, at 04:28 PM