fold: folds a frequency until it is within the spectral width of an experiment

Usage:

fold {x | y | z | z2} ppm

Description:

fold will take the chemical shift ppm and repeatedly add or subtract the spectral width of the specified dimension until the result is inside the spectral width.

Example:

fold z 19.25 will add multiples of the spectral width in the z dimension until it is within the spectral width for that dimension.

Location:

/hhmi/nv3/hhmi/fold.tcl