errors

Errors

Module summary

Classes

Errors([seed])

A standardized way for adding random errors to data

Contents

Errors

class sorts.errors.errors.Errors(seed=None)[source]

Bases: abc.ABC

A standardized way for adding random errors to data

The methods corresponding to the variables should take the data and return

set_numpy_seed()[source]

This should be called before any error generating methods if reproduction of results needs to be ensured.