Problem with barycenter
Posted: 19.02.2019, 14:17
Hi everyone. I'm currently working on an exoplanet catalogue right now, which entails writing in a lot of binary stars. I have this code for KELT-4 BC, a pair of two K-type stars with equal masses:
To find the coordinates of the barycenter, I simply took the averages of the RA and Dec for KELT-4 B and KELT-4 C. This gives me exactly 157.062757 and 25.5735699. However, when I visit the stars, the barycenter's right ascension seems to be significantly off:
Can you point me to what might be wrong?
Code: Select all
Barycenter 2009541973 "KELT-4 BC"
{
RA 157.062757
Dec 25.5735699
Distance 684.928
}
"KELT-4 B"
{
RA 157.062761
Dec 25.5735643
Distance 684.928
AbsMag 8.13 # from radius and temperature
SpectralType "K"
}
"KELT-4 C"
{
RA 157.062753
Dec 25.5735755
Distance 684.928
AbsMag 8.13 # from radius and temperature
SpectralType "K"
}
To find the coordinates of the barycenter, I simply took the averages of the RA and Dec for KELT-4 B and KELT-4 C. This gives me exactly 157.062757 and 25.5735699. However, when I visit the stars, the barycenter's right ascension seems to be significantly off:
Can you point me to what might be wrong?