Пример #1
0
    def pop_peaks(self) -> Peaks:
        """ Returns a shallow copy the activity pattern's peaks (copy of scores but references to times and hashes)
            Note: For certain activity patterns, may have side effects such as removing the peaks from the memory,
                  do not use outside main runtime architecture. """

        return Peaks.optimized_copy(self._peaks)
Пример #2
0
 def pop_peaks(self) -> Peaks:
     """ Returns a shallow copy the activity pattern's peaks (copy of scores but references to times and hashes)"""
     return Peaks.optimized_copy(self._peaks)