firecrown.models.cluster.properties.ClusterProperty

Contents

firecrown.models.cluster.properties.ClusterProperty#

class firecrown.models.cluster.properties.ClusterProperty(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Flag

Flag representing cluster observables.

This flag containing the possible cluster properties we can make a theoretical prediction for.

Public Methods:

__or__(other)

Return self|value.

__and__(other)

__xor__(other)

__ror__(other)

Return value|self.

__rand__(other)

__rxor__(other)

__invert__()

__new__(value)

Inherited from Flag

__contains__(other)

Returns True if self has at least the same flags set as other.

__iter__()

Returns flags in definition order.

__len__()

Return the number of members (no aliases)

__repr__()

Return repr(self).

__str__()

Return str(self).

__bool__()

classes/types should always be True.

__or__(other)

Return self|value.

__and__(other)

__xor__(other)

__invert__()

__rand__(other)

__ror__(other)

Return value|self.

__rxor__(other)

__new__(value)

Inherited from Enum

__signature__()

__new__(cls, value)

__init__(*args, **kwds)

__repr__()

Return repr(self).

__str__()

Return str(self).

__dir__()

Returns public methods and other interesting attributes.

__format__(format_spec)

Default object formatter.

__hash__()

Return hash(self).

__reduce_ex__(proto)

Helper for pickle.

__deepcopy__(memo)

__copy__()

Private Methods:

_generate_next_value_(name, start, count, ...)

Generate the next value when not given.

Inherited from Flag

_generate_next_value_(name, start, count, ...)

Generate the next value when not given.

_iter_member_by_value_(value)

Extract all members from the value in definition (i.e.

_iter_member_(value)

Extract all members from the value in definition (i.e.

_iter_member_by_def_(value)

Extract all members from the value in definition order.

_missing_(value)

Create a composite member containing all canonical members present in value.

_get_value(flag)

Inherited from Enum

_generate_next_value_(name, start, count, ...)

Generate the next value when not given.

_missing_(value)

_new_member_(value)

Create and return a new object.