![]() |
KIDS
ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
|
Go to the source code of this file.
Namespaces | |
namespace | select_init |
Functions | |
select_init.getfiles (path) | |
Variables | |
select_init.path = sys.argv[1] | |
select_init.out_path = sys.argv[2] | |
select_init.from_size = int(sys.argv[3]) | |
select_init.samp_size = int(sys.argv[4]) | |
select_init.Nf = from_size | |
select_init.file_id = np.arange(Nf) | |
list | select_init.frp = [] |
list | select_init.E1 = [] |
list | select_init.E2 = [] |
int | select_init.cnt = 0 |
select_init.frps | |
select_init.Es | |
list | select_init.v = frp / (E2-E1)**2 |
select_init.header | |
select_init.index | |
select_init.maxv = np.max(v) | |
list | select_init.samp_files = [] |
select_init.r = np.random.random(size=(Nf)) | |
select_init.idx = np.where(v > r*maxv)[0] | |