Independent groups | Subgroups |
These are groups
which are not subgroups of any other group. The parent ID is equal to the group ID of the group itself. The status of the group is denoted by 1 |
These are groups
which
are subgroups of other group. The parent ID is not equal to the group ID of the group. The status of the group is denoted by 0. |
tar -zxvf enlink-0.1.0.tar.gz
cd enlink-0.1.0
python setup.py install
>>>import enlink
>>>help(enlink)
enlink_galaxia.py
pip install --user --upgrade git+https://github.com/sanjibs/ebfpy.git@master
For C
version do
tar -zxvf Enlink-x.x.tar.gz
cd Enlink-x.x/src
make clean
make
poisson.ascii
,
which
contains
homogeneous
poisson sampled data with no groups.
cd ..
Enlink -dlg --dim=3 data/poisson.ascii
Enlink [OPTIONS] file.ascii
OR
Enlink [OPTIONS] file.ebf
Status-->SUCCESS Total
Time time_in_secs
Examples-
Enlink -d --dim=3 file.ascii
(calculate
and
save
density)Enlink -dl --dim=3 file.ascii
(calculate
and
save,
density
+
neighbor
list)Enlink -dlg --dim=3 file.ascii
(calculate and save, density + neighbor list + group
finding results)Enlink -dlg --dim=3 --ngb=30
--dsuffix=_n30 --ph=4.0 --gsuffix=_g4.0 file.ascii
(a
run
with
user
specifed
settings)
Enlink -dlgsbr --dim=3 --ngb=30
--dsuffix=_n30 --ph=4.0 --gsuffix=_g4.0 file.ascii
Enlink -g --dim=3
--ngb=30
--dsuffix=_n30 --ph=5.0 --gsuffix=_g5.0 file.ascii
./metric_default.txt
"../metric_default.txt
" (1.0 1.0 1.0
sigma_lb(radians)/sigma_vr). Note, suffixpd=
suffixp+
suffixd
file[suffixpd]_den.txt
(densities
+
neighbor-list
of
particles)
grp
file -
file[suffixpd]_den[suffixg]_grp.txt
(group
properties and its hierarchy)
text then it should
be in the
following format.<head>
rows columns
c_mass d c_1 c_2
.... c_d
<head>
x[0][0]
x[0][1]
....
x[0][columns-1]
..................................................................
x[rows-1][0]
x[rows-1][1]
....
x[rows-1][columns-1]
1)density file-
file[suffixd]_den.ebf
(densities
+
neighbor-list
of
particles)
-
file[suffixpd]_den[suffixg]_gid.ebf
(group
id of particles)
3)
grp
file -
file[suffixpd]_den[suffixg]_grp.txt
(group
properties and its hierarchy)
rows columns
list of column names
list of data type codes for each column (2 for integer and 4 for
float)
x[0][0] x[0][1]
............x[0][columns-1]
...........................................
...........................................
x[rows-1][0] x[rows-1][1] .......x[rows-1][columns-1]
lis of subgroups of size=Sum(x[1][0:rows-1])
id |
nsgp |
status |
isgp
|
iden
|
count
|
parent |
sig |
mass |
mass_vir |
vol |
cr |
rho_max |
rho_min |
Group
id |
Number
of
subgroups |
status 0)Independent group, i.e., it is not a sub group of any other group 1)Is a sub group of some other group |
starting
location
of
subgroups.
Subgroups
belonging
to
the
group
are
given
by
the
list
sgplist[isgp:(isgp+nsgp)] |
point
id
of
densest
data
point |
number
of
points
in
the
group |
group
id
of
parent
group |
Significance |
cumulative
mass.
summed over the group and its subgroups |
volume |
maxiimum
density |
minimum
density |
If input
file is ASCII then first two files are in ASCII format with suffix
.txt instead of .ebf .
Then rows columns
density[0]
density[1]
....
....
density[rows-1]
rows columns
id[0]
id[1]
....
....
id[rows-1]