calculate_gamma#
- sunkit_image.utils.calculate_gamma(pm, vel, pnorm, n)[source]#
Calculate gamma values.
- Parameters:
pm (
numpy.ndarray
) – Vector from point “p” to point “m”.vel (
numpy.ndarray
) – Velocity vector.pnorm (
numpy.ndarray
) – Mode ofpm
.n (
int
) – Number of points.
- Returns:
numpy.ndarray
– calculated gamma values for velocity vector vel
References
Equation (8) in Laurent Graftieaux, Marc Michard and Nathalie Grosjean. Combining PIV, POD and vortex identification algorithms for the study of unsteady turbulent swirling flows. Meas. Sci. Technol. 12, 1422, 2001. (https://doi.org/10.1088/0957-0233/12/9/307)
Equation (1) in Jiajia Liu, Chris Nelson, Robert Erdelyi. Automated Swirl Detection Algorithm (ASDA) and Its Application to Simulation and Observational Data. Astrophys. J., 872, 22, 2019. (https://doi.org/10.3847/1538-4357/aabd34)