Exemplo n.º 1
0
def set_seed(value):
    interface.set_seed(value)
Exemplo n.º 2
0
# This is "real" psignifit
from psignidata import *
from psigniplot import *

# Methods to set default priors
import psignipriors

# This is to enable display of graphics
from pylab import show

try:
    from __version__ import version
except ImportError:
    __version__ = 'Fatal: no version found!'

interface.set_seed( 0 )

def set_seed(value):
    interface.set_seed(value)

def dump_info():
    """
    Print some basic system info.
    
    NOTE: This will be extended to a more sophisticated scheme.
    """
    print("psignifit version: \t" + version)
    print("python version: \t" + sys.version)

def __test__ ( ):
    "If we call the file directly, we perform a test run"