You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rotation velocity and velocity dispersion additions (#192)
* Lower required precision between cumsum and sum quantities
Running on L200m6 crashed for half light radii (difference was 0.13% instead of less than 0.1%)
* Implement helper function for mass-weighted rotational velocity
* Define azimuthal velocity for subhalo apertures.
* Add helper function for cylindrical velocity dispersion vector
* Define cylindrical dispersion quantities for aperture properties
* Add missing property declaration
* Define luminosity-weighted kinematic properties
Still need to think of how to handle different angular momentum vectors.
* Change calculate_cylindrical_velocities to take reference pos and vel
* Define cylindrical velocity calculation on a per-luminosity-band basis
* Implementation of luminosity-weighted rotational velocity
Testing pending.
* Implement luminosity-weighted cylindrical dispersion routines.
Tests to be done
* Define luminosity weighted kinematics for aperture properties
* Add new properties to parameter file
* Add new properties to property table
* Incorrect function call
* Declare properties for bound subhalo
* Fix indexing of arrays
* Do not recentre star coordinates for cylindrical velocities
We do not do so when computing the angular momentum vector, so this change makes it consistent with our choice to not re-centre.
* Use stellar centre of mass as reference velocity
Including the case for when we do luminosity-weighting. This reflects the same choice we made when computing luminosity-weighted angular momenta.
* Use STELLAR CoM velocity as reference, not ALL CoM velocity.
* Fix bug: accidental change of velocities within function
* Run formatter
* Update property table.
0 commit comments