Skip to content

marcelo-alvarez/scaleran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scaleran

Scalable random number generator

Installation

  1. git clone https://github.com/exgalsky/scaleran.git
  2. cd scaleran
  3. pip install .

Running

Currently runs on perlmutter in the xgsmenv enviroment.

Example included here in scripts/example.py will produce 20 random numbers from a normal distribution.

import scaleran as sr

# create stream
stream = sr.Stream(
    seed = 13579,
    nsub = 2
)

seq = stream.generate(start=5,size=20)

print('seq',seq)
print('seq shape:',seq.shape)
print('seq mean:',seq.mean())

About

Scalable random number generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages