Skip to content

Changing RV sign to match the rotation direction#47

Merged
lgrcia merged 2 commits into
lgrcia:mainfrom
vatsalpanwar:fix--radial-velocity-sign-convention-corresponding-to-rotation
Dec 17, 2025
Merged

Changing RV sign to match the rotation direction#47
lgrcia merged 2 commits into
lgrcia:mainfrom
vatsalpanwar:fix--radial-velocity-sign-convention-corresponding-to-rotation

Conversation

@vatsalpanwar

Copy link
Copy Markdown
Contributor

The current sign of RV calculation returns redshift (positive RV value) for the hemisphere rotating towards the line of sight and vice versa. I have changed this to match the typical convention of the hemisphere rotating towards the line of sight being blueshifted (negative RV values) and vice versa.

@vatsalpanwar

Copy link
Copy Markdown
Contributor Author
output_star_phase_minus_theta.mp4
output_star_theta_minus_phase.mp4

@lgrcia

lgrcia commented Dec 15, 2025

Copy link
Copy Markdown
Owner

@vatsalpanwar, great and very much needed! Could you change the sign in the RV tests too? (https://github.com/lgrcia/spotter/blob/main/tests/test_rv.py#L34)

@lgrcia lgrcia merged commit f412bc5 into lgrcia:main Dec 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants