Replies: 1 comment 2 replies
-
Unless you really need to create a custom system, I'd suggest starting with the default binary ( If you want to build the system manually, you'll still need to add an orbit and a hierarchy. Unfortunately there isn't currently any way to dictate in advance the "directions" of the constraints, so any mass you provide will be overwritten based on the period, mass-ratio, and semi-major axis of the orbit so you would have to do the same as above or do the math in advance to make sure those values are set correctly. Hope this helps! Let us know if you run into any issues! -Kyle |
Beta Was this translation helpful? Give feedback.
-
How can I change the mass of my primary star?
When I added the components manually I declared the value of the mass of my primary star, but later it was changed to another value and now I don't know how to change it back. I read that mass values were restricted to Kepler's Laws, but this is not clear to me yet. I did this:
b = phoebe.Bundle()
b.add_component(phoebe.component.star, component='primary', mass=1.2)
b.add_component('star', component='secondary')
Beta Was this translation helpful? Give feedback.
All reactions