The module mt95 contains a random number generator. Currently ‘Mersenne twister’ is used, but it could in principle be replaced with any generator. This is an external module not written as part of the Pysic project.
The generator is initialized with the routine genrand_init() and random real numbers in [0,1] and [0,1) are extracted with genrand_real1() and genrand_real2(), respectively.