Skip to content

API reference

Everything is imported from the top-level package:

import universalmotif as um

The functions are grouped by what they do:

Most functions that do a lot of work take an nthreads argument, which is 1 by default or 0 to use every core. Functions that use random numbers take a seed, and the same seed gives the same results again; without one they draw a fresh seed each time.