uvex_transients.phase_space.experiment.point_seed#

uvex_transients.phase_space.experiment.point_seed(root: SeedSequence, index: int) → SeedSequence[source]#

Return the seed of the point with a given index in a campaign.

It is a pure function of the root seed and the index, so the same point always gets the same seed, and it does not advance root.

Parameters:
Returns:

The seed of that point, independent of the seeds of all the others.

Return type:

numpy.random.SeedSequence