# separate example: separate_2d_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 tXmix_*.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
# Unarray 2D Agilent/Varian data creating directories based on array parameter
# found in procpar file.

import nmrglue as ng

# read in the NMR data