Package lib :: Package spectrum :: Module nmrview
[hide private]
[frames] | no frames]

Module nmrview

source code

Module containing functions for handling NMRView files.

Functions [hide private]
 
read_list(peak_list=None, file_data=None, int_col=None)
Extract the peak intensity information from the NMRView peak intensity file.
source code
Variables [hide private]
  __package__ = 'lib.spectrum'

Imports: warn, RelaxError, strip, RelaxWarning


Function Details [hide private]

read_list(peak_list=None, file_data=None, int_col=None)

source code 

Extract the peak intensity information from the NMRView peak intensity file.

Parameters:
  • peak_list (lib.spectrum.objects.Peak_list instance) - The peak list object to place all data into.
  • file_data (list of lists of str) - The data extracted from the file converted into a list of lists.
  • int_col (int) - The column containing the peak intensity data. The default is 16 for intensities. Setting the int_col argument to 15 will use the volumes (or evolumes). For a non-standard formatted file, use a different value.
Raises:
  • RelaxError - When the expected peak intensity is not a float.