Waves & analysis
16 steps in 5 sets of Igor Pro.
This is what Igor is for. Wave assignment using p, x and q, subranges, free waves, and MultiThread when the arithmetic is worth splitting up. Then measuring: WaveStats and the V_ variables it quietly leaves behind, histograms, sorting, FindLevel.
Curve fitting gets a set of its own, covering the built-in shapes, fit ranges and weights, and writing your own FitFunc when nothing built in matches. Signals and matrices close it out with Smooth, Differentiate, FFT, Interpolate2 and MatrixOP, which has enough of its own vocabulary to feel like a separate language. Two encores: a full analysis pipeline and a batch report.
Wave assignment
- Wave assignmentOne line does what a loop would: the assignment runs over every point.
- SubrangesSquare brackets take points; parentheses take x values. The difference matters.
- Free wavesA free wave has no name in the experiment and disappears when nothing refers to it.
- Multithreaded assignmentOne keyword spreads a wave assignment across cores, when the expression allows it.
Measuring
- WaveStatsOne operation, and a dozen V_ variables land in the local scope.
- HistogramsHistogram fills a destination wave whose scaling becomes the bin axis.
- Sorting and searchingSort reorders in place; the search functions expect an ordered wave.
Curve fitting
- Fitting a built-in shapeCurveFit carries a library of shapes; the coefficients come back in W_coef.
- Fitting part of a waveMost fits are over a window, and there are two ways to say which one.
- Fitting your own functionFuncFit takes a fit function you wrote, in the shape Igor expects.
Signals & matrices
- Smoothing and derivativesThe everyday signal operations, all of which write in place unless told otherwise.
- FFTThe transform gives a complex wave whose x axis is frequency.
- ResamplingTwo waves rarely share an x axis, and Interpolate2 is how they come to.
- Two-dimensional wavesA matrix is a wave with two dimensions, and MatrixOP is the fast way through one.
Encore
- analysis_pipeline.ipfA whole small analysis: load, clean, fit, and report, in the order you would actually run it.
- batch_report.ipfEvery wave matching a pattern, measured into one table and one figure.