-
I'm new to Galpy and trying to validate the results from the following article: Here's my code
I know Galpy posses functions in which are possible to transform coordinates the handness of Galpy's coordiantes are different from the one used in the article, and since I'm trying to reproduce the results, I'm doing (or trying to do) the most similar way as possible according to the relations given in the article. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Happy to help here, but I'm not sure what the problem is. I ran your code and the results seem plausibly similar to the ones in the paper you link to. Which differences are you concerned about in particular? I think their Vtot is the one today, not 13.5 Gyr ago (Vtot today ~ 310 km/s as they list in their table). I get similar peri- and apo-center radii and similar energy. Lz is off by a factor of two, but I think that is probably because galpy uses a different default solar motion than they are using. Lz = R x vT and vT here ~ 13 km/s, so if the solar motion is different by ~13 km/s one could end up with twice as large Lz like what they have. Note that Sgr is also part of the objects that you can call with
This will use slightly different current position/velocity than you are using, but you can use this to check, because present day coordinates and orbital properties should be quite similar. |
Beta Was this translation helpful? Give feedback.
-
Okay, great that this was helpful, as I said, I'm happy to help! If my first answer essentially answered the question, please mark it as the answer to other people looking at the discussions can see that this was answered. Thanks! |
Beta Was this translation helpful? Give feedback.
Happy to help here, but I'm not sure what the problem is. I ran your code and the results seem plausibly similar to the ones in the paper you link to. Which differences are you concerned about in particular? I think their Vtot is the one today, not 13.5 Gyr ago (Vtot today ~ 310 km/s as they list in their table). I get similar peri- and apo-center radii and similar energy. Lz is off by a factor of two, but I think that is probably because galpy uses a different default solar motion than they are using. Lz = R x vT and vT here ~ 13 km/s, so if the solar motion is different by ~13 km/s one could end up with twice as large Lz like what they have.
Note that Sgr is also part of the objects tha…