'bac'
This commit is contained in:
parent
fd3134d795
commit
16ca33fd63
7
05_AWK/01.awk
Normal file
7
05_AWK/01.awk
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
if ($1 != "#" && $17 < 14 && $37 == 14) {
|
||||
bin = 10*int($6/10.0);
|
||||
hist[bin] = hist[bin] + 1;
|
||||
print $6, $17, $37, bin, hist[bin];
|
||||
}
|
||||
}
|
@ -13,6 +13,14 @@ So, BH forms if the type was not 14 in column 17, but in the same line, in the c
|
||||
|
||||
2. Compute the same for inter-binsin.dat file and plot both results on the same plot (with anything). These events from inter-binsin.dat should be smaller.
|
||||
|
||||
Hints:
|
||||
|
||||
* use column 8 for time (also in millions of years)
|
||||
* use any of the columns from 26, 27, 28 as initial stellar types, and columns
|
||||
57, 58, 59 as the final type. In other words, if in columns 26, 27, 28 there
|
||||
are no black holes (type 14), and in the final type there are some new black
|
||||
holes then we have an event we are looking for.
|
||||
|
||||
|
||||
3. Plot, on the same figure, the results from the 1. and 2. points. You will see when the primordial BHs merge (point 1.) and the dynamical BHs are merging (point 2.).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user