![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
py
a412841321
本人有多年开发经验,擅长的领域有:
1、FPGA开发。
2、嵌入式系统开发。
展开
-
python2.7 install pyx
*** Sorry, this version of PyX runs on Python 3 only. ***If you want to use PyX on Python 2, please use one of ourold releases up to PyX 0.12.x, i.e. execute something like: pip install pyx==0.12.1原创 2021-01-21 16:51:09 · 612 阅读 · 0 评论 -
用excel中的数据进行svr预测
import cv2import numpy as npimport xlrddef LoadPredictDataFromExcel(): #文件位置 ExcelFile=xlrd.open_workbook(r'..\0221_To_Teves训练数据.xlsx')#获取目标EXCEL文件sheet名 print (ExcelFile.sheet_names(...原创 2019-03-01 10:10:34 · 1426 阅读 · 1 评论 -
【原创】判断list是否为空
import loadd=load.loadFiles("./traceFile",12)#imuAll=load.getAll(d,"leftHandLocation")#load.saveInOneLine(imuAll,"./leftHandLocation.txt")imuAll=load.getAll(d,"World_UV")#imu = [x[0] for x...原创 2017-04-11 15:25:25 · 125 阅读 · 0 评论 -
【原】python最小二乘
import numpy as npfrom scipy.optimize import leastsq###采样点(Xi,Yi)###Xi=np.array([8.19,2.72,6.39,8.71,4.7,2.66,3.78])Yi=np.array([7.01,2.78,6.47,6.71,4.1,4.23,4.05])###需要拟合的函数func及误差error###...原创 2019-03-18 15:07:25 · 242 阅读 · 0 评论 -
文件名排序
def LoadMultiFile2(Dir): lFile = os.listdir(Dir) lData = [] i = 0 for FileName in lFile: print (FileName) path = os.path.join(Dir, FileName) arrData = LoadF...原创 2019-05-10 11:20:29 · 269 阅读 · 0 评论 -
从安卓log中抓取想要的内容
import numpy as npimport osimport matplotlib.pyplot as pltdir = "..\\noise\\3.15\\"lFile = os.listdir(dir)def LoadData(path): f = open(path) center = [] LeftUp = [] LeftDown = ...原创 2019-05-31 14:30:33 · 333 阅读 · 0 评论