LALBurst 2.0.7.1-eeff03c
lalburst.stringutils.InstrumentBins Class Reference

Detailed Description

Example:

‍x = InstrumentBins() x[frozenset(("H1", "L1"))] 55 x.centres()[55] frozenset(['H1', 'L1'])

Definition at line 125 of file stringutils.py.

Inherits rate.HashableBins.

Public Member Functions

def __init__ (self, names)
 
def lower (self)
 
def upper (self)
 

Static Public Attributes

tuple names = ("E0", "E1", "E2", "E3", "G1", "H1", "H2", "H1H2+", "H1H2-", "L1", "V1")
 
string xml_bins_name = u"instrumentbins"
 

Constructor & Destructor Documentation

◆ __init__()

def lalburst.stringutils.InstrumentBins.__init__ (   self,
  names 
)

Definition at line 129 of file stringutils.py.

Member Function Documentation

◆ lower()

def lalburst.stringutils.InstrumentBins.lower (   self)

Definition at line 137 of file stringutils.py.

◆ upper()

def lalburst.stringutils.InstrumentBins.upper (   self)

Definition at line 139 of file stringutils.py.

Field Documentation

◆ names

tuple lalburst.stringutils.InstrumentBins.names = ("E0", "E1", "E2", "E3", "G1", "H1", "H2", "H1H2+", "H1H2-", "L1", "V1")
static

Definition at line 127 of file stringutils.py.

◆ xml_bins_name

string lalburst.stringutils.InstrumentBins.xml_bins_name = u"instrumentbins"
static

Definition at line 142 of file stringutils.py.