DiffusionPar#
- class torchspin.DiffusionPar(dt=None, nSteps=None, nTraj=1, tMax=None, OriStart=None, Integrator='Euler-Maruyama', seed=None)[source]#
Parameters for
stochtraj_diffusion.- Variables:
seed (object) – Optional seed for the random number generator. When set, the generated trajectory is bit-reproducible across runs. When
None(default), a fresh non-deterministic generator is used. A sequence ofBseeds splits thenTrajtrajectories intoBequal consecutive blocks with independent streams, so a block draws the same numbers whether it is generated alone or together with others (used by cardamom to keep seeded results independent of how orientations are grouped).