Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smoothing of stellar particles? #18

Open
2 tasks
kateharborne opened this issue Nov 12, 2021 · 1 comment
Open
2 tasks

Smoothing of stellar particles? #18

kateharborne opened this issue Nov 12, 2021 · 1 comment

Comments

@kateharborne
Copy link
Owner

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:

  • If PartType4 contains a SmoothingLength group (i.e. if the user has precomputed a smoothing length for each stellar particle), SimSpin can run the n_spawn generation of extra stellar particles to sample the smoothed distribution.

Required tests:

  • Check that smoothing allows the user to approach the intended properties in the observation through comparison of high resolution models with low resolution smoothed models.
@kateharborne
Copy link
Owner Author

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:

  • Add option to 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.
  • Need to decide/test the appropriate number of nearest neighbours. For gas particles in the EAGLE simulation suite, k = 54?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant