How do I import multiple star systems via CSV?

edited January 2012 in AstroSynthesis General
Question about importing multiple bodies:

I've imported star systems using the method described on p102-103 of the manual, but the multiple systems don't appear to show up properly in AS3 - this is what I get:



I'm entering them in the following format, as described there:
Multiple,5,Sirius,6.224840505,-1.32641943,5.758164231,1.99,,,A1 V,,
Multiple,5,Sirius B,6.224840505,-1.32641943,5.758164231,1,,,DA2,,

If I enter them manually into AS3 instead, it looks like this:



I created a Multiple Star system, then added a Child Body (to that) that was a Blue/White Star (Sirius A), and another Child Body (again to the Multiple Star) that was a White Dwarf (Sirius B). Presumably this is correct?

So how can I import a multiple system via the CSV import so that it shows up like the second case?

Comments

  • Try this:

    Multiple,5,Sirius,6.224840505,-1.32641943,5.758164231,,,,,,
    Star,5,Sirius A,0,0,0,1.99,,,A1 V,,
    White Dwarf,5,Sirius B,0,0,0,1,,,DA2,,
  • Try this:

    Multiple,5,Sirius,6.224840505,-1.32641943,5.758164231,,,,,,
    Star,5,Sirius A,0,0,0,1.99,,,A1 V,,
    White Dwarf,5,Sirius B,0,0,0,1,,,DA2,,

    To explain the above, the first line tells the program that all other entries with ID=5 are part of a multiple system. So for a binary system like Sirius you would need 3 lines of data. I still have not figured out how to make it import a double binary with nested multiple star systems.
  • So you'd put the position data in the first line, and then the stars wouldn't have any position listed for them? I tried removing the "Multiple" entries completely and just called Sirius A "Star" and B "White Dwarf" and it looked more like the second case, but the system is called "Sirius A".

    I'll try what you suggest anyway. I've got about 100 systems here so it shouldn't be too painful to update it.

    EDIT: And that worked - thanks! :)
  • I wonder what would happen if you put a coordinate for the individual stars in a multiple star system?

    Something like:
    Multiple,1,Alpha Centauri,X,Y,Z,etc
    Star,1,Alpha Centauri A,5.0,0,0,etc
    Star,1,Alpha Centauri B,-5,0,0,etc.

    Would it show the individual stars on the system display at the coordinates indicated in the data file?

    Hmmm... Maybe I'll try this at some point.

    Dan
  • The x/y/z coordinates for stars in a multiple star system do specify the position of the stars relative to each other (as displayed in the preview area). The value is interpreted as AU's, not LY's. So you have to set the values accordingly.

Leave a Comment