bin2dat.py File Reference
Go to the source code of this file.
Namespaces | |
| namespace | bin2dat |
Variables | |
| bin2dat.f = read(sys.argv[1]) | |
| bin2dat.keys = f.keys() | |
| list | bin2dat.config = [ k for k in keys if k.startswith('/config/') ] |
| string | bin2dat.prefix = '' |
| bin2dat.val = f[k] | |
| bin2dat.key = k[7:] | |
| bin2dat.p = p[1:] | |
| bin2dat.postfix | |
| list | bin2dat.data = [ k for k in keys if not k.startswith('/config/') ] |
| bin2dat.outkeys = list() | |
| list | bin2dat.ks = [ i.rsplit('/',1)[1] for i in outkeys ] |
| list | bin2dat.vals = [f[k] for k in outkeys] |
| list | bin2dat.a = [ "%.4e" % np.float64(i) for i in a ] |
1.9.4