I know it’s childish, but I’d love to visit this town if I ever get to stop by PA.
![]()
I know it’s childish, but I’d love to visit this town if I ever get to stop by PA.
![]()
Although I am a big fan of MATLAB, it’s time for me to really try out Python so I can fairly compare the pros and cons of both languages.
The first tiny hurdle for Python is its scattered installation process for Windows. I thought Python(x,y) will give me everything in one place, but turns out the Spyder is stuck in Python 2.7. To install Python 3.7, I’ll need to do it from scratch. Here are the steps:
{python37}/scriptspython -m pip install --upgrade pipPython37\python.exe: No module named pip, so you might want to use ensurepip to bootstrap: python -m ensurepip pip install PyQt5pip install Spyder{Python37}/Scripts/spyder3.exepip install pyvisapip install PySerialpip install scipypip install pandaspip install matplotlibpip install sympyUpdate: I tried Anaconda (2019.03, Python 3.7.3 x64) which supposedly have everything in one place, but the Spyder it included crashes right out of the box. Jyupter is confusing as it relies on the web-browser to render the results. Feels patchy and doesn’t look like it adds more than the steps above. Uninstalled it without hesitation.
Update: To update the packages, tack -U switch at the end of each of the above pip install commands. Remember to follow the order of dependencies (e.g. update PyQt5 before Spyder)
![]()
Very often people doing R&D ask me if they need to have their oscilloscope calibrated. And for most of the time, my answer is no unless they need to have the NIST traceability or the calibration sticker to keep the regulatory bodies happy. They often thought it’s adjusting the calibration coefficients (or knobs) to make the unit more accurate. This is COMPLETELY WRONG.
In EEVBlog, they showed a video interview with Agilent Metrologist explaining what calibration actually does: it gives you the sample data points against trusted references about how your test instruments’ references has drifted between calibrations. Actually it’s preferable to not adjust the instruments if it’s already within specs.
![]()
极品!高帽也顶穿了!
https://www.youtube.com/watch?v=PCimU5x25ic
![]()