bin2dat Namespace Reference
Variables | |
f = read(sys.argv[1]) | |
keys = f.keys() | |
list | config = [ k for k in keys if k.startswith('/config/') ] |
string | prefix = '' |
val = f[k] | |
key = k[7:] | |
p = p[1:] | |
postfix | |
list | data = [ k for k in keys if not k.startswith('/config/') ] |
outkeys = list() | |
list | ks = [ i.rsplit('/',1)[1] for i in outkeys ] |
list | vals = [f[k] for k in outkeys] |
list | a = [ "%.4e" % np.float64(i) for i in a ] |
Variable Documentation
◆ a
list bin2dat.a = [ "%.4e" % np.float64(i) for i in a ] |
Definition at line 42 of file bin2dat.py.
◆ config
list bin2dat.config = [ k for k in keys if k.startswith('/config/') ] |
Definition at line 16 of file bin2dat.py.
◆ data
Definition at line 29 of file bin2dat.py.
◆ f
bin2dat.f = read(sys.argv[1]) |
Definition at line 9 of file bin2dat.py.
◆ key
bin2dat.key = k[7:] |
Definition at line 20 of file bin2dat.py.
◆ keys
list bin2dat.keys = f.keys() |
Definition at line 10 of file bin2dat.py.
◆ ks
list bin2dat.ks = [ i.rsplit('/',1)[1] for i in outkeys ] |
Definition at line 37 of file bin2dat.py.
◆ outkeys
bin2dat.outkeys = list() |
Definition at line 30 of file bin2dat.py.
◆ p
bin2dat.p = p[1:] |
Definition at line 21 of file bin2dat.py.
◆ postfix
bin2dat.postfix |
Definition at line 21 of file bin2dat.py.
◆ prefix
bin2dat.prefix = '' |
Definition at line 17 of file bin2dat.py.
◆ val
bin2dat.val = f[k] |
Definition at line 19 of file bin2dat.py.
◆ vals
Definition at line 40 of file bin2dat.py.