firecrown.likelihood.gauss_family.statistic.two_point.EllOrThetaConfig

Contents

firecrown.likelihood.gauss_family.statistic.two_point.EllOrThetaConfig#

class firecrown.likelihood.gauss_family.statistic.two_point.EllOrThetaConfig[source]#

Bases: TypedDict

A dictionary of options for generating the ell or theta.

This dictionary contains the minimum, maximum and number of bins to generate the ell or theta values at which to compute the statistics.

Parameters:
  • minimum – The start of the binning.

  • maximum – The end of the binning.

  • n – The number of bins.

  • binning – Pass ‘log’ to get logarithmic spaced bins and ‘lin’ to get linearly spaced bins. Default is ‘log’.

Public Methods:

Inherited from dict

__repr__()

Return repr(self).

__getattribute__(name, /)

Return getattr(self, name).

__lt__(value, /)

Return self<value.

__le__(value, /)

Return self<=value.

__eq__(value, /)

Return self==value.

__ne__(value, /)

Return self!=value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.

__iter__()

Implement iter(self).

__init__(*args, **kwargs)

__or__(value, /)

Return self|value.

__ror__(value, /)

Return value|self.

__ior__(value, /)

Return self|=value.

__len__()

Return len(self).

__getitem__(key, /)

Return self[key].

__setitem__(key, value, /)

Set self[key] to value.

__delitem__(key, /)

Delete self[key].

__contains__(key, /)

True if the dictionary has the specified key, else False.

__sizeof__()

get(key[, default])

Return the value for key if key is in the dictionary, else default.

setdefault(key[, default])

Insert key with a value of default if key is not in the dictionary.

pop(k[,d])

If the key is not found, return the default if given; otherwise, raise a KeyError.

popitem()

Remove and return a (key, value) pair as a 2-tuple.

keys()

items()

values()

update([E, ]**F)

If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

fromkeys([value])

Create a new dictionary with keys from iterable and values set to value.

clear()

copy()

__reversed__()

Return a reverse iterator over the dict keys.

__class_getitem__

See PEP 585