Rosetta
Namespaces | Functions | Variables
PREcst.py File Reference

Namespaces

 PREcst
 

Functions

def PREcst.ratio_func (x, R2, ratio)
 
def PREcst.fit (linewidth, ratio)
 

Variables

 PREcst.MW = float(sys.argv[2])
 
int PREcst.kDa = MW / 1000
 
float PREcst.tauc = 0.6e-9 * kDa
 
float PREcst.K = 1.23e-32
 
int PREcst.larmor = 500e3
 
 PREcst.fname = sys.argv[1]
 
 PREcst.FILE = open(fname, "r")
 
 PREcst.param = line.split(" ")
 
 PREcst.labeledres = int(param[0])
 
 PREcst.peak = int(param[0])
 
 PREcst.linewidth = float(param[1])
 
 PREcst.Iox = float(param[2])
 
 PREcst.Ired = float(param[3])
 
 PREcst.ratio = Iox/Ired
 
def PREcst.PRE = fit( linewidth, ratio )
 
int PREcst.Rconst = 4*tauc+((3*tauc)/(1+larmor**2 * tauc**2))
 
tuple PREcst.r = (K/PRE*Rconst)**(float(1)/6)*10**8