Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.09 KB

integrate_2d.rst

File metadata and controls

29 lines (18 loc) · 1.09 KB

integration example: integrate_2d

This example shows how to use nmrglue to integrate a 2D NMRPipe spectra. The script reads in point limits from limits.in and takes a simple summation integral of all points in each box described. The integrated volumes are writting to volumes.out. For a method to graphically examine these limits see plot_2d_boxes. Similarly to check the peak assignments see plot_2d_assignments.

The data used in this example is available for download.

[source code <../../../examples/integration/integrate_2d/integrate_2d.py>]

../../../examples/integration/integrate_2d/integrate_2d.py

[input file <../../../examples/integration/integrate_2d/limits.in>]

../../../examples/integration/integrate_2d/limits.in

Results:

[output file <../../../examples/integration/integrate_2d/volumes.out>]

../../../examples/integration/integrate_2d/volumes.out