Example: Use-cases of convolution
This notebook aims to provide a series of use-cases, with varying degree of complexity and some of them making use of more advanced functionality of the framework.
Convolving data with Lgalaxies merger-tree info
Surface density of binary objects in the SMC
related https://arxiv.org/abs/2406.01420
Orbit integration of stellar systems in a galaxy (including kicks!) using Agama
Several ingredients are necessary here:
population-synthesis results that contains binary systems that experience a supernova kick (or 2!)
a galaxy star formation rate history model
a galaxy potential and a method to place assign position and velocity to the system
One thing that is not taken into account is the torques on the binary system due to the background potential of the galaxy (nor any dynamical interactions, but lets go with the collissionless assumption of galaxies for now). These torques would alter their evolution and can not really be added post-processing. To be fully correct would need to be taken into account during the simulation of the binary system, but that means we need to evolve these systems on-the-fly, during the convolution,
instead of using pre-simulated sets of population-synthesis results.