Package SloppyCell :: Module Utility
[hide private]

Module Utility

source code

Classes [hide private]
  SloppyCellException
  ConstraintViolatedException
A ConstraintViolatedException is raised when a the value of a network constraint becomes True.
  Redirector
Functions [hide private]
 
send_email(to_addr, from_addr=None, subject='', message='')
Send a plain-text email to a single address.
source code
 
save(obj, filename)
Save an object to a file
source code
 
load(filename)
Load an object from a file
source code
 
eig(mat)
Return the sorted eigenvalues and eigenvectors of mat.
source code
 
bootstrap(data, num_iterates=100)
Use sampling with replication to calculate variance in estimates.
source code
 
enable_debugging_msgs(filename=None)
Enable output of debugging messages.
source code
 
disable_debugging_msgs()
Disable output of debugging messages.
source code
 
disable_warnings() source code
 
enable_warnings() source code
 
combine_hessians(hesses, key_sets)
Combine a number of hessians (with possibly different dimensions and orderings) into a single hessian.
source code

Imports: cPickle, logging, smtplib, sets, MIMEText, scipy, linspace, logspace, random, copy, Redirector_mod


Function Details [hide private]

enable_debugging_msgs(filename=None)

source code 

Enable output of debugging messages.

If filename is None messages will be sent to stderr.

combine_hessians(hesses, key_sets)

source code 

Combine a number of hessians (with possibly different dimensions and 
orderings) into a single hessian.

hesses    A sequence of hessians to combine
key_sets  A sequence of sequences containing the parameter keys (in order)
          for each hessian.