Quanlse/QWaveform.py
def buildWaveCache(self, tag: str = None, forPlot: bool = False) -> Dict[str, int]:
        """
        Generate the pulse sequences for further usage.

        :param tag: wave tag
        :param forPlot: whether plot
        :return: returned pulse sequences
        """
        # Generate the pulse sequences for all of the control terms.
        waveCounting = {}
        self.clearCache()
        allKeys = list(self.waves.keys())
        if self.parent is not None:
            allKeys.extend(self.parent.doNotClearFlagWaves.keys())
        for key in allKeys:
            _sequence = self.generatePulseSequence(name=key, tag=tag, forPlot=forPlot, counting=waveCounting)
            self._waveCache[key] = _sequence
        return waveCounting

        Generate the pulse sequences for further usage.

        :param tag: wave tag
        :param forPlot: whether plot
        :return: returned pulse sequences
        
Generate the pulse sequences for further usage.
Generate the pulse sequences for further usage .
def buildWaveCache(self, tag: str = None, forPlot: bool = False) -> Dict[str, int]:
        waveCounting = {}
        self.clearCache()
        allKeys = list(self.waves.keys())
        if self.parent is not None:
            allKeys.extend(self.parent.doNotClearFlagWaves.keys())
        for key in allKeys:
            _sequence = self.generatePulseSequence(name=key, tag=tag, forPlot=forPlot, counting=waveCounting)
            self._waveCache[key] = _sequence
        return waveCounting
def buildWaveCache ( self , tag : str = None , forPlot : bool = False ) -> Dict [ str , int ] : waveCounting = { } self . clearCache ( ) allKeys = list ( self . waves . keys ( ) ) if self . parent is not None : allKeys . extend ( self . parent . doNotClearFlagWaves . keys ( ) ) for key in allKeys : _sequence = self . generatePulseSequence ( name = key , tag = tag , forPlot = forPlot , counting = waveCounting ) self . _waveCache [ key ] = _sequence return waveCounting
Generate the pulse sequences for further usage.
Generate the pulse sequences for further usage .
"""
        Generate the pulse sequences for further usage.

        :param tag: wave tag
        :param forPlot: whether plot
        :return: returned pulse sequences
        """ # Generate the pulse sequences for all of the control terms.
returned pulse sequences
returned pulse sequences
self
tag
str
None
forPlot
bool
None