Open kateharborne opened 3 years ago
Generated new branch `dev-StellarSmoothing' for development of smoothing stellar particles to increase the spaxel resolution for models that are kinematically resolved, but observed using SimSpin with low particle numbers per pixel.
Planned changes:
make_simspin_file
to generate smoothed stellar distribution. Using FNN package (get.knn
) to determine the smoothing length for each stellar particle. Necessary to add another dependency.
When working in a regime of low particle numbers along a spaxel, it would be useful to be able to reconstruct the distribution along the line of sight. This feature would require an assumption from the user that the stellar properties should be smoothed across some kernel relating to the local number density of particles.
Possible feature to be added to SimSpin directly:
PartType4
contains aSmoothingLength
group (i.e. if the user has precomputed a smoothing length for each stellar particle), SimSpin can run then_spawn
generation of extra stellar particles to sample the smoothed distribution.Required tests: