wmi-parprog/04_AWK/stars/awk_excercises.txt

17 lines
899 B
Plaintext
Raw Normal View History

2024-03-18 13:15:13 +01:00
Columns description is in the beginning of the files.
2024-03-18 14:53:30 +01:00
1. Compute number of black holes formed per every timesteps (column timenr) from files inter-binevoldat. At the end we should see something like a histogram.
2024-03-18 14:32:19 +01:00
Hints:
* column 17 - initial star's type, it has to be smaller than 14
* column 37 - final star's type, it has to be 14 (internal note that we have a black hole(BH))
2024-03-18 14:53:30 +01:00
So, BH formes if the type was not 14 in column 17, but in the same line, in the column 37 equals 14. Number of such events (rows) have to be computed per every time step (column timenr).
2024-03-18 16:16:29 +01:00
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.
2024-03-18 14:53:30 +01:00
2024-03-18 16:16:29 +01:00
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.).
2024-03-18 14:53:30 +01:00