Calibrate all visible slices

Category: Data Processing and Evaluation – Spectra
Author:
Description: This script calibrates all currently visible slices (not the hidden ones) in a LinePlot so that the individual slice calibrations match the displayed axes of the lineplot. The script works on the frontmost image which has to be a lineplot display. If a cursor is present in the lineplot, then a dialog will appear which allows to set origin and scale for this cursor. Checkboxes allow to perform only scale or offest calibrition for all slices, and to turn off intensity-calibration. Additional ouput is given, if the script is executed with the OPTION key pressed.
Comments: The script is additionally a nice demonstration of the commands used to shift multiple slices with respect to each other in a lineplot.
Script version: 1.1
DM/GMS version: 1.5.1
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download