Do I need to download a specific snapshot in order to determine its cosmic scale factor?
James Harvey
28 Jan
I am trying to determine the time at which mergers take place using the merger trees for the TNG100-3 data. However, from the documentation I can't find any other way to determine the cosmic scale factor (or redshift would work) of a snapshot other than using il.groupcat.loadHeader(basePath, SnapNum)['Time'] which requires you to have the group catalogue files downloaded for that specific snapshot right?
Any help would be much appreciated.
James
Dylan Nelson
30 Jan
Hi James,
You could (i) grab this from the table on the download page for each simulation, or (ii) use the Lab service and write a few lines of python to dump this to a text file.
This was pretty quick, so in fact I just put this below here, which is valid for all TNG50, TNG100, and TNG300 simulation runs:
I am trying to determine the time at which mergers take place using the merger trees for the TNG100-3 data. However, from the documentation I can't find any other way to determine the cosmic scale factor (or redshift would work) of a snapshot other than using il.groupcat.loadHeader(basePath, SnapNum)['Time'] which requires you to have the group catalogue files downloaded for that specific snapshot right?
Any help would be much appreciated.
Hi James,
You could (i) grab this from the table on the download page for each simulation, or (ii) use the Lab service and write a few lines of python to dump this to a text file.
This was pretty quick, so in fact I just put this below here, which is valid for all TNG50, TNG100, and TNG300 simulation runs:
Thanks!