Ignore:
Timestamp:
Mar 17, 2015, 3:18:04 PM (10 years ago)
Author:
mmh
Message:

uq snap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/uq/puq/get_params.py

    r5029 r5148  
    11#!/usr/bin/env python
    2 from puq import *
    3 import csv, sys, os
     2import sys
     3from puq import NormalParameter, UniformParameter, Sweep, RapptureHost, Smolyak
     4import csv, os
    45import numpy as np
    56from puq.jpickle import unpickle
     7
     8sys.stdout = open("gp.out", 'w')
     9sys.stderr = open("gp.err", 'w')
     10
    611
    712dfile, pid, varlist, uq_type, args = sys.argv[1:]
     
    914hname = "puq_%s.hdf5" % pid
    1015
    11 
    12 sys.stdout = open("gp.log", 'w')
    13 sys.stderr = open("gp.err", 'w')
    14 
    1516print sys.argv[1:]
    1617varlist = unpickle(varlist)
    1718print "varlist=", varlist
    18 print type(varlist)
     19
    1920
    2021v = {}
Note: See TracChangeset for help on using the changeset viewer.