Muon Data Analysis Workshop: An Introduction to the Practicalities

Similar documents
Engineering Data Management (EDM) Software

RASDRWin Companion Software for RASDR. Paul Oxley Retired AT&T Microwave Engineer David Fields Stan Kurtz

Mantid 4 + Quick Start Guide for Muon Data Processing. 2 nd Edition. March Mark Telling, Steve Cottrell, Anders Markvardsen and Robert Whitley

arxiv:cond-mat/ Oct 2002

NHSC HIFI DP workshop Caltech, September A Tour of HIFI Data. - page 1

TEC single wire resolution

Vanderbilt Small Molecule NMR Center

ksa 400 Growth Rate Analysis Routines

HEALTH MONITORING OF INDUCTION MOTOR FOR VIBRATION ANALYSIS

PiSpec Software & Digital Pulse Processors

OPTICAL COHERENCE TOMOGRAPHY:SIGNAL PROCESSING AND ALGORITHM

Chapter 6 Data Acquisition and Spectral Analysis System high-speed digitizer card for acquiring time-domain data. The digitizer is used in

Podium Data Analysis Software. User Manual. RCA40 Version

Introduction to Sampled Signals and Fourier Transforms

IN-VEHICLE POWERTRAIN NOISE EVALUATION. DISCOM Mobile

BioTrace+ What s new V2013

VIBbox 64-Channel Sound & Vibration Solution

Gamma spectroscopic measurements using the PID350 pixelated CdTe radiation detector

Raman Spectrometer Installation Manual

VIBBOX. 32, 48, or 64-Channel Sound & Vibration Solution Expansion to 256 Channels. Key Feature of Each VIBbox: Table 1. Key Features of VIBbox Models

Podium Data Analysis Software. User Manual. SWIS10 Version

Standard Operating Procedure for the Horiba FluroMax-4

Experiment 5: Exploring Resolution, Signal, and Noise using an FTIR CH3400: Instrumental Analysis, Plymouth State University, Fall 2013

SSW, Radio, X-ray, and data analysis

Imaging and Deconvolution

MAESTRO 7. Multichannel Analyzer (MCA) Application Software

LED MINISPECTROMETER LMS-R

Logger Pro 3. Quick Reference

Department of Electrical Engineering. Indian Institute of Technology Dharwad EE 303: Control Systems Practical Assignment - 6

CRISM (Compact Reconnaissance Imaging Spectrometer for Mars) on MRO. Calibration Upgrade, version 2 to 3

Product Release Note

SUPPLEMENTARY INFORMATION

Operating Instructions

Advanced Jitter Analysis with Real-Time Oscilloscopes

CHAPTER 4 DUAL LOOP SELF BIASED PLL

Vibration Handheld Instruments

Steen Moeller Center for Magnetic Resonance research University of Minnesota

High-Accuracy LIBS with Nanosecond and Picosecond Time Resolution Enabled by Ultrasensitive emiccd Technology

MuSR Graphical User Interface: deltat Reference Manual

Chapter 3 Set Redundancy in Magnetic Resonance Brain Images

musrfit: a free platform-independent framework for μsr data analysis

Workhorse ADCP Multi- Directional Wave Gauge Primer

Global simulation of the LiCAS/RTRS survey system for the ILC

Assignment 3: Edge Detection

NORAN System 7. Spectral Imaging X-ray Microanalysis System. Spectral Analysis. Point & Shoot. Spectral Imaging

Improved Centroid Peak Detection and Mass Accuracy using a Novel, Fast Data Reconstruction Method

SCDI for EUV photomask metrology RESCAN - Reflective EUV Mask Scanning Lensless Imaging Tool

Authentication and Secret Message Transmission Technique Using Discrete Fourier Transformation

So, what is data compression, and why do we need it?

Small rectangles (and sometimes squares like this

W7 DATA ANALYSIS 2. Your graph should look something like that in Figure W7-2. It shows the expected bell shape of the Gaussian distribution.

An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (2000/2001)

CHAPTER 3. Preprocessing and Feature Extraction. Techniques

New software features of the 7010 Particle Size. Analyzer Danielle Chamberlin May May 5, Page 1

DUPLICATE DETECTION AND AUDIO THUMBNAILS WITH AUDIO FINGERPRINTING

FAST site EMU CSC test results a global view from ROOT N. Terentiev

Carestream Vita user quick guide. Software version 3.2 From April 2012

Operating vibration analysis in ME scopeves based on ArtemiS SUITE analysis results

Rowland NMR Toolkit (RNMRTK) Overview

GPS time synchronization system for T2K

RF-MK Rev 2 February, MonARC 4.0 User Guide. Understand and Control Your Process Chemistry

University at Buffalo's NEES Equipment Site. Data Management. Jason P. Hanley IT Services Manager

Rietveld refinements collection strategies!

Description of NOMAD Observation Types and HDF5 Datasets NOT YET COMPLETE

Vector Xpression 3. Speed Tutorial: III. Creating a Script for Automating Normalization of Data

INTRODUCTION TO THE ANAPHE/LHC++ SOFTWARE SUITE

6220 Ethernet-Based Voltage Measurement Module

ODS & Modal Testing Using a Transmissibility Chain

FUTEK USB Software Version User s Manual

Hardware Aspects, Modularity and Integration of an Event Mode Data Acquisition and Instrument Control for the European Spallation Source (ESS)

Introduction to Image Processing and Analysis. Applications Scientist Nanotechnology Measurements Division Materials Science Solutions Unit

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12

EPS Product Validation Report: IASI L1 PCC PPF

Open. Powerful. Application Builder for Test & Measurement Systems.

PEER Report Addendum.

Instruction Manual. Sound Calibrator 42AB. LI0062 Revision 30 April 2012

Introduction to ANSYS DesignXplorer

Heath Yardley University of Adelaide Radar Research Centre

NUS: non-uniform sampling

Lecture 4 Image Enhancement in Spatial Domain

Comprehensive, Low-Cost Gas Analysis Software for Increased Productivity. FabGuard Explorer. Gas Analysis Software

Experimental reconstruction of a highly reflecting fiber Bragg grating by using spectral regularization and inverse scattering

Martin Dove s RMC Workflow Diagram

FFT and Spectrum Analyzer

Compact 8 in 1 Multi-Instruments SF Series

UNIFIT - Spectrum Processing, Peak Fitting, Analysis and Presentation Software for XPS, AES, XAS and RAMAN Spectroscopy Based on WINDOWS

Matlab OTKB GUI Manual:

Filter Bank Design and Sub-Band Coding

Examination in Image Processing

Establishing a Validated Automated System for Attenuation Measurement at DC-18GHz Frequencies

Measure Foundry. Open. Powerful. Application Builder for Test & Measurement Systems. Measure Foundry Instruments and Advanced Instruments versions:

Work in Tbilisi. David Mchedlishvili (SMART EDM_lab of TSU) GGSWBS , Tbilisi. Shota Rustaveli National Science Foundation

Podium Plus Data Analysis Software. User Manual. SWIS10 Version

Lattice calibration with turn-by-turn BPM data. X. Huang 3/17/2010 IUCF Workshop -- X. Huang

Formula for the asymmetric diffraction peak profiles based on double Soller slit geometry

Example of one enclave in the field. strike. Right hand rule convention of orientation. pitch or rake. dip

TraceFinder Analysis Quick Reference Guide

High Performance GPU-Based Preprocessing for Time-of-Flight Imaging in Medical Applications

Update on Energy Resolution of

EECS 556 Image Processing W 09. Image enhancement. Smoothing and noise removal Sharpening filters

Transcription:

Muon Data Analysis Workshop: An Introduction to the Practicalities Francis Pratt (ISIS) ISIS Muon Training Course March 2012

Outline A. Acquiring the data B. Location and format of the data C. Data analysis software D. Basic msr data analysis 1) Setting up 2) Analysing the relaxation 3) Modelling the fitted parameters 4) Plotting results E. Analysis of complex rotation spectra 1) Fourier transform 2) All-poles transform 3) Maximum entropy method 4) Time domain fitting

A. Acquiring the data Currently we have two different acquisition systems: SECI Windows system (MUSR, EMU, HiFi) MACS/EXP Windows/Linux system (ARGUS)

SECI (MUSR,EMU and HIFI) Main control is by command line and file-based scripting

MACS/EXP EXP MACS Hybrid Linux/Windows system used on ARGUS

MACS GUI control and dynamic scripting

B. Location and Format of Muon Data Finding the Muon Data: ARGUS From the ISIS network: \\ndw656\macs\nexus\argus0010000.nxs EMU From the ISIS network: \\emu\data\emu00010000.nxs MUSR From the ISIS network: \\musr\data\musr00010000.nxs HIFI From the ISIS network: \\hifi\data\hifi00010000.nxs Temperature Logs: NeXus files store the T log data internally (other logs may also be stored, e.g. fields)

Taking Data Away Copy to own laptop or USB stick Burn CD using PC in instrument cabin Send to remote system back home pushing is easier than pulling! Fetch from home using the data access portals: Old data up to Aug 2010: data.isis.rl.ac.uk Data after March 2011: data.isis.stfc.ac.uk

Formats for ISIS Muon Data All new data is currently saved in NeXus format SECI NeXus-1: hierarchical, extendable format (.nxs), soon Nexus-2 also RAL binary format (.ral) for older data MACS Nexus-2 (.nxs) plus RAL binary format (.ral) Typical run file is 200-1500 kb in size Data compression can reduce the size by up to a factor of 7 (bzip2 is the most efficient zip algorithm for muon data)

The NeXus Data Format Based on the NCSA Hierarchical Data Format (HDF) The NeXus hierarchical data format has three components: A set of subroutines to make it easy to read and write NeXus files A set of design principles to help people understand what is in them A set of instrument definitions to allow the development of more portable analysis software Example part of data structure: NeXus webpage: HDF webpage: ISIS NeXus muon definitions: www.nexusformat.org www.hdfgroup.org www.isis.stfc.ac.uk/groups/muons/downloads

msr Data Formats in Use Worldwide RAL/RIKEN-RAL (UK).nxs (Nexus-1 and Nexus-2) PSI (Switzerland).bin (standard binary) PSI-root (based on CERN format).nxs (Nexus-2, eventually) TRIUMF (Canada).tri (VMS binary).mud (hierarchical) JPARC (Japan) JPARC-root (based on CERN format)

C. Muon Data Analysis Software Software used at ISIS: VMS Legacy: UDA RUMDA MESA (VMS, General Purpose) (VMS, General Purpose) (VMS, Maximum Entropy for TF Studies) Current PC based software: WiMDA Mantid (Windows, time and frequency domain) (based on multiplatform ISIS toolkit, time domain) Many research groups have also developed their own programs over the years

Both WiMDA and Mantid will be available for use with the practical sessions WiMDA can be downloaded from: http://shadow.nd.rl.ac.uk/wimda Mantid can be downloaded from: http://www.mantidproject.org

D. Basic msr Data Analysis Main Stages: 1. Preparing the data to be analysed, setting up 2. Fitting the measured asymmetry to a chosen relaxation function; analysing 3. Assessing the fitted relaxation parameters, which may involve a further stage of fitting these parameters to an appropriate model; modelling 4. Preparing plots of the results of analysing and modelling the data, plotting

D1. Setting Up the Data a) Checking the time origin t 0 and the time of the first and last good data points b) Defining the detector grouping c) Correction for counting loss due to counter deadtime d) Correction for steady background count rate e) Choice of binning

a) Checking the time origin t 0 and the time of the first and last good data points

b) Defining the detector grouping e.g. for LF/ZF : Forward group 1-16 Backward group 17-32 Notes: for TF : Group1 1-4, 17-20 Group2 5-8, 21-24 Group3 9-12, 25-28 Group4 13-16, 29-32 ARGUS has 192 detectors MUSR and HIFI have 64 detectors EMU has 96 detectors (In WiMDA the detectors are usually pregrouped into 32 histograms)

How many groups to use for TF analysis? A dephasing effect will reduce the asymmetry of TF data if not enough groups are used: N=4 N=8 Dephasing factor = sin(p/n) / (p/n) TF Groups Dephasing Factor 16 99 % 8 98 % 4 90 % 2 64 % i.e. 8 TF groups are sufficient for most purposes

c) Correction for counting loss due to counter deadtime characterised by a deadtime t for each detector channel, typically t ~ 10 ns deadtimes for particular instruments are obtained from high statistics calibration runs using Ag data rate correction to the observed rate r ob is applied to give the true rate r the simplest form of correction is r = r ob / (1- r ob t) Less important for instruments with large numbers of detectors

d) Correction for steady background count rate can be included as part of the fitting procedure Not usually needed for ISIS data analysis

e) Choice of binning: The standard raw time bin for ISIS data is 16 ns. It is often useful to choose to increase the bin size for data analysis bin width : trade-off between number of points and fitting speed allows separate focus on fast and slow parts of the relaxation fixed/variable: variable binning compensates for the deteriorating signal-to-noise at longer times best to keep to fixed binning for weakly damped oscillations, e.g. TF studies

D2. Analysing the Relaxation Try fitting to possible alternative relaxation functions Look for systematic deviations of the fit from the data are additional relaxation components needed? Use the reduced chi-squared c r 2 to judge the quality of the fit and appropriateness of the model c r N i 1 y y 2 i 1 2 i ( x ; p, p.. p ) i m 2 N m N fitting points and m fit parameters N-m = n is the number of degrees of freedom

Expected standard error of c r 2 is (2/n) 1/2 High n Low n

Expected standard error of c r 2 is (2/n) 1/2 Quality of fit Poor fit High n Low n

Expected standard error of c r 2 is (2/n) 1/2 Quality of fit Good fit High n Low n

Expected standard error of c r 2 is (2/n) 1/2 Quality of fit Too good fit! High n Low n

Expected standard error of c r 2 is (2/n) 1/2 Quality of fit Difficult to distinguish High n Low n

D3. Modelling Fitted Parameter Sets A further stage of fitting involves modelling the fitted parameters for a related set of runs: e.g. following the temperature dependence of a precession frequency within a magnetic phase or fitting the field dependence of a relaxation rate to an appropriate model Online analysis and modelling allows feedback to the experimental data taking process helps in getting more efficient and complete data sets

D4. Plotting the Results Close integration with the fitting process is desirable for rapid feedback on: the data quality the state of the analysis the progress of the experiment GLE (Graphics Layout Engine) Graphics scripting system closely integrated with WiMDA and used in the data analysis workshop for making plots http://www.gle-graphics.org/ Origin and Excel are also available for further processing and plotting of results

E. Analysis of Complex Rotation Spectra 1. Fourier transform 2. All Poles transform 3. Maximum Entropy spectral analysis 4. Time domain analysis versus frequency domain analysis

Fourier and All-Poles Transforms FFT (Fast Fourier Transform) is the standard way to convert from time domain to frequency domain. FFT assumes frequency spectrum is well represented by array of evenly spaced points, which works well for spectra containing broad spectral features. However, if the spectrum contains very narrow features, other types of frequency transform can work better. The All-Poles (maxent) transform method is one such method, which makes an expansion of the data in terms of a series of sharp frequencies See Press et al, Numerical Recipes, CUP for further details of the All-Poles transform Problems with Transform Methods in msr All transform methods assume that the data error is independent of time, clearly not the case for msr data. Data filtering (apodization) is essential before transforming, but this produces significant spectral broadening.

Fourier and All-Poles Transforms Optimal filtering time constant for a single undamped test frequency

Fourier and All-Poles Transforms A close pair of undamped test frequencies

The Maximum Entropy Method Avoids the noise problem and need for filtering; takes data errors fully into account Iterative procedure for constructing the frequency spectrum with the minimum structure (i.e. maximum entropy) that is consistent with the measured data Entropy here is determined from the frequency spectrum p k S k p k log b p b k The procedure involves maximising S l c 2, where l is a Lagrange multiplier See Rainford and Daniell, Hyperfine Interactions 87, 1129 (1994) for a detailed discussion of using Maximum Entropy in msr for a general reference see: Maximum Entropy in Action, Buck and Macaulay, OUP (1991)

The Maximum Entropy Method Demonstration of MaxEnt using the test data for the transforms

Organic Superconductor Example Maximum Entropy Spectra Characteristic field distribution due to vortex lattice

Comparison of Frequency Domain Methods CdS Data Central frequency plus split pair Reconstruction methods Transform methods

Time Domain Analysis versus Frequency Single Frequency Domain Analysis Freq (MHz) Width (MHz) Test Data 1.0000 0.000 Time domain fit 0.9998(1) 0.001(1) Maximum Entropy 1.006 0.003 Pair of Frequencies Freq (MHz) Width (MHz) Test Data 0.9500, 1.0500 0.000, 0.000 Time domain fit 0.9493(1) 1.0499(3) 0.003(3) 0.004(3) Maximum Entropy 0.956 1.054 0.002 0.005

Time Domain Analysis versus Frequency Domain Analysis Transforms are good for determining a qualitative picture of data: FFT best for spectra containing relatively broad features All-poles transform best for spectra composed of sharp features Iterative Maximum Entropy Method gives an unbiased view of the data but Time Domain Fitting gives best ultimate accuracy, provided the correct model is being used. CONCLUSION A combination of Frequency Domain and Time Domain analysis usually works best!

Next: Hands-on part of the Data Analysis Workshop