![]() |
KIDS
ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
|
Functions | |
getfiles (path) | |
Variables | |
path = sys.argv[1] | |
out_path = sys.argv[2] | |
from_size = int(sys.argv[3]) | |
samp_size = int(sys.argv[4]) | |
Nf = from_size | |
file_id = np.arange(Nf) | |
list | frp = [] |
list | E1 = [] |
list | E2 = [] |
int | cnt = 0 |
frps | |
Es | |
list | v = frp / (E2-E1)**2 |
header | |
index | |
maxv = np.max(v) | |
list | samp_files = [] |
r = np.random.random(size=(Nf)) | |
idx = np.where(v > r*maxv)[0] | |
select_init.getfiles | ( | path | ) |
Definition at line 7 of file select_init.py.
int select_init.cnt = 0 |
Definition at line 31 of file select_init.py.
select_init.E1 = [] |
Definition at line 29 of file select_init.py.
select_init.E2 = [] |
Definition at line 30 of file select_init.py.
select_init.Es |
Definition at line 41 of file select_init.py.
select_init.file_id = np.arange(Nf) |
Definition at line 24 of file select_init.py.
select_init.from_size = int(sys.argv[3]) |
Definition at line 18 of file select_init.py.
select_init.frp = [] |
Definition at line 28 of file select_init.py.
select_init.frps |
Definition at line 36 of file select_init.py.
select_init.header |
Definition at line 54 of file select_init.py.
Definition at line 65 of file select_init.py.
select_init.index |
Definition at line 55 of file select_init.py.
select_init.maxv = np.max(v) |
Definition at line 58 of file select_init.py.
select_init.Nf = from_size |
Definition at line 23 of file select_init.py.
select_init.out_path = sys.argv[2] |
Definition at line 17 of file select_init.py.
select_init.path = sys.argv[1] |
Definition at line 16 of file select_init.py.
select_init.r = np.random.random(size=(Nf)) |
Definition at line 64 of file select_init.py.
list select_init.samp_files = [] |
Definition at line 60 of file select_init.py.
select_init.samp_size = int(sys.argv[4]) |
Definition at line 19 of file select_init.py.
Definition at line 50 of file select_init.py.