Package Bio :: Package NMR :: Module xpktools :: Class XpkEntry
[hide private]
[frames] | no frames]

Class XpkEntry

source code

object --+
         |
        XpkEntry

Entry from a .xpk file.

Usage: XpkEntry(xpkentry,xpkheadline) where xpkentry is the line
from an nmrview .xpk file and xpkheadline is the line from
the header file that gives the names of the entries
which is typcially the sixth line of the header (counting fm 1)

Variables are accessed by either their name in the header line as in
self.field["H1.P"] will return the H1.P entry for example.
self.field["entrynum"] returns the line number (1st field of line)

Instance Methods [hide private]
 
__init__(self, entry, headline)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, entry, headline)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)