bilby.core.sampler.ImplementedSamplers
- class bilby.core.sampler.ImplementedSamplers[source]
Bases:
object
Dictionary-like object that contains implemented samplers.
This class is singleton and only one instance can exist.
- __init__(*args, **kwargs)
- __call__(*args, **kwargs)
Call self as a function.
Methods
__init__
(*args, **kwargs)items
()Iterator of tuples containing keys (sampler names) and classes.
keys
()Iterator of available samplers by name.
All valid keys including bilby.<sampler name>.
values
()Iterator of sampler classes.
- items()[source]
Iterator of tuples containing keys (sampler names) and classes.
Note: the classes need to loaded using
.load()
before being called.