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

Module xeasy

source code

Module containing functions for handling XEasy files.

Functions [hide private]
 
read_list(peak_list=None, file_data=None, int_col=None)
Extract the peak intensity information from the XEasy 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 XEasy 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 (for a non-standard formatted file).
Raises:
  • RelaxError - When the expected peak intensity is not a float.