Coverage for cosmoHammer/ChainContext.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
""" Context holding a dict to store data and information durring the computation of the likelihood """
""" Constructor of the context """
""" Adds the value to the context using the key
:param key: string key to use :param value: object the value to store
"""
""" Removes the value from the context
:param key: string key to remove from the context """
""" Checks if the key is in the context
:param key: string key to check
:return: True if the key is in the context """
""" Returns the value stored in the context at the key or the default value in the context doesn't contain the key
:param key: string key to use :param default: string the default value to use if the key is not available """
""" Returns the currently processed parameters
:return: The param of this context """
""" Returns the parent
:return: The parent chain of this context """
""" Returns the data
:return: The data of this context """
|