资源简介

用于信号处理,python完整代码,详细。

资源截图

代码片段和文件信息

import plasTeX.base as base

def idgen():
    “““ Generate a unique ID “““
    i = 1
    while 1:
        yield ‘a%.10d‘ % i
        i += 1

idgen = idgen()

class Eqn(base.Command):
    args = ‘self‘

class Anchor(base.Command):
    args = ‘label:str‘
    def invoke(self tex):
        base.Command.invoke(self tex)
        self.ownerDocument.context.label(self.attributes[‘label‘] self)

class exercise(base.Environment):
    counter = ‘exercise‘

class index(base.Command):
    args = ‘termstring‘

    def setEntry(self s seetype=0):
    #    TYPE_NORMAL = 0
    #    TYPE_SEE = 1
    #    TYPE_SEEALSO = 2
        if type(s) != type(‘‘):
            s = s.textContent
        if s.count(‘!‘):
            priterm secterm = s.split(‘!‘)
            if priterm.count(‘@‘):
                prisort primary = priterm.split(‘@‘)
            else:
                prisort primary = None priterm
            if secterm.count(‘@‘):
                secsort secondary = secterm.split(‘@‘)
            else:
                secsort secondary = None secterm
        elif s.count(‘@‘):
            prisort primary = s.split(‘@‘)
            secsort secondary = None None
        else:
            prisort primary = None s
            secsort secondary = None None

#        if secondary:
#            self.ownerDocument.userdata.setdefault(‘index‘ []).append(\
#                base.IndexEntry([primary secondary] self [prisort secsort] None type=seetype))
#        else:
#            self.ownerDocument.userdata.setdefault(‘index‘ []).append(\
#                base.IndexEntry([primary] self [prisort] None type=seetype))
        return prisort primary secsort secondary

    def invoke(self tex):
        base.Command.invoke(self tex)
        self.ownerDocument.context.label(idgen.next() self)
        p0p1s0s1 = self.setEntry(self.attributes[‘termstring‘])
        if p0:
            self.prisort = ‘%s‘ % p0
        if p1:
            self.primary = ‘%s‘ % p1
        if s0:
            self.secsort = ‘%s‘ % s0
        if s1:
            self.secondary = ‘%s‘ % s1

class scriptN(base.Command):
       unicode = u‘\U0001D4A9‘

class uxbar(base.Command): pass
class uybar(base.Command): pass
class unhat(base.Command): pass
class ule(base.Command): pass
class minus(base.Command): pass
class lowast(base.Command): pass
class Erdos(base.Command): pass


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-08-14 00:04  ThinkDSP-master\
     文件          20  2018-08-14 00:04  ThinkDSP-master\.gitignore
     文件        2508  2018-08-14 00:04  ThinkDSP-master\README.md
     目录           0  2018-08-14 00:04  ThinkDSP-master\book\
     文件        2117  2018-08-14 00:04  ThinkDSP-master\book\Makefile
     文件        4440  2018-08-14 00:04  ThinkDSP-master\book\back.png
     文件      230292  2018-08-14 00:04  ThinkDSP-master\book\book.tex
     文件         714  2018-08-14 00:04  ThinkDSP-master\book\diagram.tex
     文件         560  2018-08-14 00:04  ThinkDSP-master\book\diagram2.tex
     目录           0  2018-08-14 00:04  ThinkDSP-master\book\figs\
     文件       25085  2018-08-14 00:04  ThinkDSP-master\book\figs\MP86F77F.pdf
     文件       17307  2018-08-14 00:04  ThinkDSP-master\book\figs\aliasing-3.eps
     文件        8858  2018-08-14 00:04  ThinkDSP-master\book\figs\aliasing-3.pdf
     文件       31214  2018-08-14 00:04  ThinkDSP-master\book\figs\aliasing1.eps
     文件       10881  2018-08-14 00:04  ThinkDSP-master\book\figs\aliasing1.pdf
     文件       21628  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr1.eps
     文件       11176  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr1.pdf
     文件       20965  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr2.eps
     文件       11790  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr2.pdf
     文件       23199  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr3.eps
     文件       13723  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr3.pdf
     文件       66360  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr4.eps
     文件       30421  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr4.pdf
     文件     2192298  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr5.eps
     文件      167190  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr5.pdf
     文件       23424  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr6.eps
     文件       12286  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr6.pdf
     文件       40106  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr7.eps
     文件       20965  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr7.pdf
     文件       19950  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr8.eps
     文件       11506  2018-08-14 00:04  ThinkDSP-master\book\figs\autocorr8.pdf
............此处省略268个文件信息

评论

共有 条评论