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:
root (
numpy.random.SeedSequence) – The root seed of the campaign.index (
int) – The index of the point in the map, from 0.
- Returns:
The seed of that point, independent of the seeds of all the others.
- Return type: