Closed christianboily closed 2 years ago
I think that right now there is no pre-main-sequence support from BSE code. So I don't think you can set 17 for the stellar type. The SSE/BSE function calling frequency depends on how fast the star evolve. Thus, the low-mass star evolve very slow with a large time step to call SSE/BSE function, indeed you may see a large offset between the age in the snapshots and the simulation time, but it won't happen for massive stars since the call frequency is much higher. So this is not a problem. You can double check the snapshots, if you found some strangle evolution, please let me know.
Right now I have also implemented the python tool to transfer the snapshots data to astropy SkyCoord format. Thus it is easy to generate observational like data (e.g., proper motion, RA, DEC ...) with different reference frame. You can find the information from the README https://github.com/lwang-astro/PeTar#the-reference-frame-and-coordinate-system-transformation
I have a question about the state of stars in PeTar when the status is given on input ( in an ascii input file, this is column #21 I believe, when the columns 1 = mass, 2 to 4 is x,y,z , etc .. )..
By the way, it proved relatively easy to run PeTar + Galpy together, which is extremely useful for future studies (or comparing with Gaia data). Many thanks for this great code + tools !
all the best,
Christian B.