Package wsatools :: Module DataFactory :: Class PassbandList
[hide private]

Class PassbandList

source code


Provides a monostate list of passbands for a given programme.

Instance Methods [hide private]
 
__init__(self, programme, isSynoptic=False)
Queries database to determine passband list for given programme, unless this has already been done.
source code
list(str)
getBroadbandPassbands(self)
Returns: Broadband passbands in lower case.
source code
list(tuple(int, str))
getFilterIDsWithMfCols(self)
Returns: Filter IDs with names of the multiframeID columns for each passband in a merge-log.
source code
list(str)
getMfCols(self)
Returns: Names of the multiframeID columns for each passband in a merge-log.
source code
list(tuple(str, str))
getMfdCols(self)
Returns: Names of the multiframeID, extNum column pairs for each passband in a merge-log
source code
sequence(str)
getPassbandsLowerCase(self)
Returns: Passbands in lower case.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _isSynoptic = False
Is the current list a synoptic passband list?
  _programmeID = None
Programme ID of the current list.
  filterIDs = None
List of filter IDs for current programme.
  passbands = None
List of passbands for current programme.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, programme, isSynoptic=False)
(Constructor)

source code 

Queries database to determine passband list for given programme, unless this has already been done.

Parameters:
  • programme (ProgrammeTable) - Programme table of database to query with the current row set to that of the desired programme.
  • isSynoptic (bool) - If True, prepare a list of synoptic table passbands.
Overrides: object.__init__

getBroadbandPassbands(self)

source code 
Returns: list(str)
Broadband passbands in lower case.

getFilterIDsWithMfCols(self)

source code 
Returns: list(tuple(int, str))
Filter IDs with names of the multiframeID columns for each passband in a merge-log.

getMfCols(self)

source code 
Returns: list(str)
Names of the multiframeID columns for each passband in a merge-log.

getMfdCols(self)

source code 
Returns: list(tuple(str, str))
Names of the multiframeID, extNum column pairs for each passband in a merge-log

getPassbandsLowerCase(self)

source code 
Returns: sequence(str)
Passbands in lower case.