karllark / DIRTY_dustrt

DIRTY: 3D dust radiative transfer for dusty astrophysical sources
https://dirty-dustrt.readthedocs.io
5 stars 1 forks source link

Option to change RNG seed #29

Open hvbish opened 9 months ago

hvbish commented 9 months ago

Currently the same random number generator seed is used each time DIRTY is run. It would be helpful if there was an option to request that a different seed be used, perhaps by adding a line to the parameter file.

This would be useful in the case when the results from multiple DIRTY runs are additive (for example, adding more photons to a star to increase S/N).

karllark commented 2 weeks ago

This capacity exists. Just not in the docs. Can be set in the Run section of the param file with the variable random_num_seed. Expects a very large integer. Default is 987654321.