Read chemical shifts from a file.
file: The name of the peak list of generic formatted file containing the chemical shifts.
dir: The directory where the file is located.
spin_id_col: The spin ID string column used by the generic file format (an alternative to the mol, res, and spin name and number columns).
mol_name_col: The molecule name column used by the generic file format (alternative to the spin ID column).
res_num_col: The residue number column used by the generic file format (alternative to the spin ID column).
res_name_col: The residue name column used by the generic file format (alternative to the spin ID column).
spin_num_col: The spin number column used by the generic file format (alternative to the spin ID column).
spin_name_col: The spin name column used by the generic file format (alternative to the spin ID column).
sep: The column separator used by the generic format (the default is white space).
spin_id: The spin ID string used to restrict the loading of data to certain spin subsets.
This will read chemical shifts from a peak list or a generic column formatted file.
The following commands will read the chemical shifts out of the Sparky peak list `10ms.list':
[numbers=none] relax> chemical_shift.read('10ms.list')