bilby.core.sampler.ImplementedSamplers
- class bilby.core.sampler.ImplementedSamplers[source]
Bases:
objectDictionary-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.
Iterator of native sampler names (without the bilby. prefix).
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.
- keys()[source]
Iterator of available samplers by name.
Reduces the list to its simplest. This includes removing the ‘bilby.’ prefix from native samplers if a corresponding plugin is not available.