/cmsis-dsp-latest/ |
D | setup.py | 8 import os.path 17 PYTHON_MOD = os.path.join(ROOT,"cmsisdsp") 18 version_path = os.path.join(PYTHON_MOD,"version.py") 26 includes = [os.path.join(ROOT,"Include"),os.path.join(ROOT,"PrivateInclude"),os.path.join("PythonWr… 52 filteringMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_filtering.c")) 53 matrixMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_matrix.c")) 54 supportMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_support.c")) 55 statisticsMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_statistics.c")) 56 complexfMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_complexf.c")) 57 basicMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_basic.c")) [all …]
|
/cmsis-dsp-latest/Testing/PatternGeneration/ |
D | Tools.py | 1 import os.path 56 theDir=os.path.normpath(destPath) 57 if not os.path.exists(theDir): 187 def canOverwrite(self,path): argument 188 return(self._overwrite or not os.path.exists(path)) 201 return(os.path.join(self._patternDir,"%s%d_%s.txt" % (name,i,self._ext))) 203 return(os.path.join(self._patternDir,"Input%d_%s.txt" % (i,self._ext))) 216 return(os.path.join(self._patternDir,"%s%d_%s.txt" % (name,i,"s64"))) 218 return(os.path.join(self._patternDir,"Input%d_%s.txt" % (i,"s64"))) 232 return(os.path.join(self._patternDir,"%s%d_%s.txt" % (name,i,"s32"))) [all …]
|
D | DebugTools.py | 78 def readQ31Output(path): argument 79 sig = np.loadtxt(path, delimiter=',',dtype="int64",converters= {0:hexToQ31}) 83 def readQ15Output(path): argument 84 sig = np.loadtxt(path, delimiter=',',dtype="int64",converters= {0:hexToQ15}) 89 def readF32Output(path): argument 90 sig = np.loadtxt(path, delimiter=',',dtype="float",converters= {0:hex2float}) 94 def readF16Output(path): argument 95 sig = np.loadtxt(path, delimiter=',',dtype="float",converters= {0:hex2f16})
|
D | Controller.py | 1 import os.path 21 PATTERNDIR = os.path.join("Patterns","DSP","Controller","Controller") 22 PARAMDIR = os.path.join("Parameters","DSP","Controller","Controller")
|
D | Example.py | 1 import os.path 60 PATTERNDIR = os.path.join("Patterns","Example","ExampleCategory","ExampleCategory") 61 PARAMDIR = os.path.join("Parameters","Example","ExampleCategory","ExampleCategory")
|
D | Softmax.py | 1 import os.path 52 PATTERNDIR = os.path.join("Patterns","NN","Softmax",) 53 PARAMDIR = os.path.join("Parameters","NN","Softmax")
|
D | Quaternion.py | 1 import os.path 61 PATTERNDIR = os.path.join("Patterns","DSP","QuaternionMaths","QuaternionMaths") 62 PARAMDIR = os.path.join("Parameters","DSP","QuaternionMaths","QuaternionMaths")
|
D | Decimate.py | 1 import os.path 41 PATTERNDIR = os.path.join("Patterns","DSP","Filtering","DECIM","DECIM") 42 PARAMDIR = os.path.join("Parameters","DSP","Filtering","DECIM","DECIM") 228 PATTERNDIR = os.path.join("Patterns","DSP","Filtering","DECIM","DECIM") 229 PARAMDIR = os.path.join("Parameters","DSP","Filtering","DECIM","DECIM")
|
D | FIR.py | 1 import os.path 98 PATTERNDIR = os.path.join("Patterns","DSP","Filtering","FIR","FIR") 99 PARAMDIR = os.path.join("Parameters","DSP","Filtering","FIR","FIR")
|
D | Support.py | 1 import os.path 201 PATTERNDIR = os.path.join("Patterns","DSP","Support","Support") 202 PARAMDIR = os.path.join("Parameters","DSP","Support","Support") 238 PATTERNBARDIR = os.path.join("Patterns","DSP","SupportBar") 239 PARAMBARDIR = os.path.join("Parameters","DSP","SupportBar")
|
D | ComplexMaths.py | 1 import os.path 104 PATTERNDIR = os.path.join("Patterns","DSP","ComplexMaths","ComplexMaths") 105 PARAMDIR = os.path.join("Parameters","DSP","ComplexMaths","ComplexMaths")
|
D | Distance.py | 1 import os.path 96 path = np.array(list(zip(query_index,template_index))).flatten() 97 config.writeReferenceS16(10,path ,"PathRef") 254 PATTERNDIR = os.path.join("Patterns","DSP","Distance","Distance") 255 PARAMDIR = os.path.join("Parameters","DSP","Distance","Distance")
|
/cmsis-dsp-latest/Testing/ |
D | summaryBench.py | 9 import os.path 17 def findItem(root,path): argument 31 q = deque(path) 64 def summaryBenchmark(resultPath,elem,path): argument 65 regressionPath=os.path.join(os.path.dirname(path),"regression.csv") 67 if os.path.isfile(path): 69 full=pd.read_csv(path,dtype={'OLDID': str} ,keep_default_na = False) 73 with open(os.path.join(resultPath,'currentConfig.csv'), 'r') as f: 108 benchPath = os.path.join(benchmark,elem.fullPath(),"fullBenchmark.csv") 134 resultPath=os.path.dirname(args.r)
|
D | processResult.py | 9 import os.path 48 def findItem(root,path): argument 62 q = deque(path) 307 theDir=os.path.normpath(os.path.dirname(destPath)) 308 if not os.path.exists(theDir): 311 def correctPath(path): argument 312 while (path[0]=="/") or (path[0] == "\\"): 313 path = path[1:] 314 return(path) 335 path = str(m.group(1)) [all …]
|
D | convertToOld.py | 9 import os.path 20 def findItem(root,path): argument 34 q = deque(path) 64 regressionPath=os.path.join(os.path.dirname(fullPath),"regression.csv") 79 benchPath = os.path.join(benchmark,elem.fullPath(),"fullBenchmark.csv")
|
/cmsis-dsp-latest/Testing/DebugScripts/ |
D | debugbiquad.py | 4 import os.path 10 current_path = os.path.abspath(getsourcefile(lambda:0)) 11 current_dir = os.path.dirname(current_path) 12 parent_dir = current_dir[:current_dir.rfind(os.path.sep)] 14 sys.path.insert(0, parent_dir) 20 inputPath = os.path.join(parent_dir,"Patterns","DSP","Filtering","BIQUAD","BIQUAD%s" % f.upper(),"B… 21 refPath = os.path.join(parent_dir,"Patterns","DSP","Filtering","BIQUAD","BIQUAD%s" % f.upper(),"Biq… 22 outputPath= os.path.join(parent_dir,"Output","DSP","Filtering","BIQUAD","BIQUAD%s" % f.upper(),"Out…
|
D | debug.py | 4 import os.path 29 …inputPath = os.path.join("Patterns","DSP","Transform","Transform%s" % args.f.upper(),"ComplexInput… 30 …refPath = os.path.join("Patterns","DSP","Transform","Transform%s" % args.f.upper(),"ComplexInputSa… 31 …outputPath= os.path.join("Output","DSP","Transform","Transform%s" % args.f.upper(),"ComplexFFTSamp… 34 …inputPath = os.path.join("Patterns","DSP","Transform","Transform%s" % args.f.upper(),"ComplexInput… 35 …refPath = os.path.join("Patterns","DSP","Transform","Transform%s" % args.f.upper(),"ComplexFFTSamp… 36 …outputPath= os.path.join("Output","DSP","Transform","Transform%s" % args.f.upper(),"ComplexFFTSamp…
|
/cmsis-dsp-latest/Testing/TestScripts/ |
D | CodeGen.py | 3 import os.path 34 theDir=os.path.normpath(os.path.dirname(destPath)) 35 if not os.path.exists(theDir): 164 with open(os.path.join(thedir,"%s_decl.h" % theClass),"w") as decl: 358 if root.path: 360 textFile.write(root.path) 561 def addPattern(self,includeFile,path): argument 585 with open(path,"r") as pat: 634 def addParameter(self,includeFile,path): argument 658 with open(path,"r") as pat: [all …]
|
D | Parser.py | 109 def path(self): member in TreeElem 118 return(os.path.join(self.parent._fullPath() , self.path)) 123 return(os.path.normpath(self._fullPath())) 128 if p and self.path: 129 return(p + ":" + self.path) 132 if self.path: 133 return(self.path)
|
D | NewParser.py | 167 path = Word(alphanums+"_/.") 169 folder = CaselessKeyword("folder") + "=" + path("folder") 174 … patterns = (Keyword("Pattern") + ident("ID") + ":" + path("path")).setParseAction(parseFile) 175 output = (Keyword("Output") + ident("ID") + ":" + path("path")).setParseAction(parseFile) 180 fileOrGenerator = (":" + path("path")) | generator
|
/cmsis-dsp-latest/dsppp/ |
D | run_all.py | 3 import os.path 244 return(os.path.join("cprj","out","test",target_name(),"Release","test"+ ext)) 278 with open(os.path.join("allocation",test_name)+".h","w") as h: 285 with open(os.path.join("allocation",test_name)+".cpp","w") as h: 296 print(os.path.join(results(),test_name)+".txt") 297 with open(os.path.join(results(),test_name)+".txt","w") as h: 312 config = os.path.join("fvp_configs",target) + ".txt" 321 avhAttempt = os.path.join(AVHROOT,fvpWin[core]) 322 if os.path.exists(avhAttempt): 325 avhAttempt = os.path.join(AVHROOT,fvpUnix[core]) [all …]
|
D | mps3run.py | 11 import os.path 64 path = "." variable 68 axf_path = os.path.join(path,out,bin)
|
/cmsis-dsp-latest/Testing/cmsis_build/ |
D | runall.py | 33 sys.path.append("..") 159 if os.path.exists(axf): 161 if os.path.exists(elf): 164 config = os.path.join("configs",configFiles[core]) 166 config = os.path.join("configs",configFiles[core][compiler]) 169 avhAttempt = os.path.join(AVHROOT,avhWindowsExe[core]) 170 if os.path.exists(avhAttempt): 173 avhAttempt = os.path.join(AVHROOT,avhUnixExe[core]) 174 if os.path.exists(avhAttempt):
|
/cmsis-dsp-latest/Scripts/ |
D | GenMFCCDataForCPP.py | 40 import os.path 55 cpath=os.path.join(args.d,args.n + ".c") 56 hpath=os.path.join(args.i,args.n + ".h")
|
/cmsis-dsp-latest/PythonWrapper/examples/ |
D | example_1_11.py | 106 path=dsp.arm_dtw_path_f32(np.copy(dtwMatrix)) variable 109 for x in list(zip(path[0::2],path[1::2])):
|