Package generic_fns :: Module bruker
[hide private]
[frames] | no frames]

Module bruker

source code

Module for the reading of Bruker Dynamics Centre (DC) files.

Functions [hide private]
 
convert_relax_data(data)
Determine the relaxation data from the given DC data.
source code
 
get_res_num(data)
Determine the residue number from the given DC data.
source code
 
read(ri_id=None, file=None, dir=None)
Read the DC data file and place all the data into the relax data store.
source code
Variables [hide private]
  __package__ = 'generic_fns'

Imports: search, split, pipes, value, software_select, exists_mol_res_spin_data, name_spin, set_spin_isotope, spin_loop, pack_data, peak_intensity_type, RelaxError, RelaxNoSequenceError, open_read_file, element_from_isotope


Function Details [hide private]

convert_relax_data(data)

source code 

Determine the relaxation data from the given DC data.

Parameters:
  • data (list of str) - The list of Tx, Tx error, and scaling factor for a given residue from the DC file.

get_res_num(data)

source code 

Determine the residue number from the given DC data.

Parameters:
  • data (list of str) - The list of residue info, split by whitespace, from the DC file.

read(ri_id=None, file=None, dir=None)

source code 

Read the DC data file and place all the data into the relax data store.

Parameters:
  • ri_id (str) - The relaxation data ID string.
  • file (str) - The name of the file to open.
  • dir (str or None) - The directory containing the file (defaults to the current directory if None).