A specific database table container for the Programme table.
new empty dictionary
|
__init__(self,
db=None)
Accesses the default database, extracts the requested table data, and
prepares special access objects: acronym, progNameToID and
progIDsForTable. |
source code
|
|
|
_initialiseProgramme(self)
Accesses the default database, extracts the requested table data, and
prepares special access objects: acronym, progNameToID and
progIDsForTable. |
source code
|
|
str
|
|
str
|
getAcronym(self,
progID=None)
Converts the given programme ID into the corresponding programme
acronym. |
source code
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
list(str)
|
_getMfIdRange(self,
month)
Returns:
Multiframe ID range, in SQL syntax, of a given month that has a
monthly-split detection table. |
source code
|
|
list(str)
|
|
list(str) or list(tuple(str, str)) or str
|
getMonthlyDetectionTables(self,
dateRange=None,
deepOnly=False,
excludeDeeps=False,
mfIDs=None,
**kwds)
Returns:
All DetectionRaw table names for current programme, up to and
including the last date given in the date range. |
source code
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str
|
|
str or None
|
getSchemaScript(self,
**kwds)
Get the name of the .sql script file that describes the schema for
tables belonging to the current programme. |
source code
|
|
list(str)
|
|
int
|
|
set(int)
|
|
list(int)
|
getProgIDList(self,
onlyNonSurvey=False,
onlySurvey=False,
excludeNew=True,
excludeSV=False)
Returns a list of programme IDs that are defined in the Programme
table of the database and are correctly set-up with detection tables. |
source code
|
|
str
|
|
bool
|
isAutomated(self,
**kwds)
Returns:
True, if this programme is automatically set up and curated via
AutoCurate. |
source code
|
|
bool
|
isDeep(self,
**kwds)
Returns:
True, if this programme requires deep stack frames. |
source code
|
|
bool
|
isLowGalLat(self,
**kwds)
Returns:
True, if this programme is mainly based in the Galactic Plane or
Magellanic Clouds: high stellar density and cannot use Schlegal Dust
Maps |
source code
|
|
bool
|
|
bool
|
|
bool
|
|
bool
|
isShallowTiled(self,
**kwds)
Returns:
True, if this programme's merged source product should just consists
of shallow tiles. |
source code
|
|
bool
|
|
bool
|
|
int
|
setProgID(self,
progStr)
Sets the current row to the given programme and returns the unique
programme ID. |
source code
|
|
|
|
bool
|
useSExtractor(self,
**kwds)
Returns:
True, if the catalogues for this programme are produced with
SExtractor rather than CASU's cirdr package. |
source code
|
|
Inherited from Table :
getAll ,
getAttr ,
setCurRow
Inherited from dict :
__cmp__ ,
__contains__ ,
__delitem__ ,
__eq__ ,
__ge__ ,
__getattribute__ ,
__getitem__ ,
__gt__ ,
__iter__ ,
__le__ ,
__len__ ,
__lt__ ,
__ne__ ,
__new__ ,
__repr__ ,
__setitem__ ,
__sizeof__ ,
clear ,
copy ,
fromkeys ,
get ,
has_key ,
items ,
iteritems ,
iterkeys ,
itervalues ,
keys ,
pop ,
popitem ,
setdefault ,
update ,
values ,
viewitems ,
viewkeys ,
viewvalues
Inherited from object :
__delattr__ ,
__format__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__ ,
__subclasshook__
|