lsst.pipe.tasks g8b9e2231ea+fa07cb600e
Loading...
Searching...
No Matches
Classes | Functions | Variables
lsst.pipe.tasks.repositoryIterator Namespace Reference

Classes

class  RepositoryInfo
 
class  RepositoryIterator
 
class  SourceData
 

Functions

def _getDTypeList (keyTuple, valTuple)
 

Variables

int STR_PADDING = 5
 

Detailed Description

Tools to help you iterate over a set of repositories.

Helpful while creating them or harvesting data from them.

Function Documentation

◆ _getDTypeList()

def lsst.pipe.tasks.repositoryIterator._getDTypeList (   keyTuple,
  valTuple 
)
protected
Construct a numpy dtype for a data ID or repository ID

@param[in] keyTuple: ID key names, in order
@param[in] valTuple: a value tuple
@return numpy dtype as a list

@warning: this guesses at string length (STR_PADDING + length of string in valTuple);
longer strings will be truncated when inserted into numpy structured arrays

Definition at line 34 of file repositoryIterator.py.

Variable Documentation

◆ STR_PADDING

int lsst.pipe.tasks.repositoryIterator.STR_PADDING = 5

Definition at line 30 of file repositoryIterator.py.