separate example: separate_1d_varian¶

This example shows how to use nmrglue to separate Agilent/Varian data collected with an innermost parameter interleaved. The full experimental data in the arrayed_data.dir directory is unpacked into a series of directories with names tHX_*.fid which can be converted with nmrglue or NMRPipe. The name and values of the interleaved parameter is determined from the procpar file in the arrayed_data.dir directory.

#! /usr/bin/env python
# Separate 1D Agilent/Varian data creating directories based on the
# array parameter found in the procpar file.

import nmrglue as ng