Next / Previous / Contents / NM Tech homepage

6.26. CBCData.genCirclesByPhysio()

pycbc.py
# - - -   C B C D a t a . g e n C i r c l e s B y P h y s i o

    def genCirclesByPhysio(self, physioCode):
        '''Find all circles that contain a given stratum.
        '''
        q = self.s.query(self.CirPhysio).filter_by(
                physio_code=physioCode)
        for cirPhysio in q:
            yield cirPhysio.circle