Ogi Moore
e1415cb3a8
Use np.pi or math.pi instead of just pi
2021-04-23 22:43:57 -07:00
Ogi Moore
f8cefa6284
Use hypot method to avoid over/underflow errors
...
Use hypot instead of manual calculation
2021-04-23 11:53:00 -07:00
Ogi Moore
b0a3849960
Use math module methods for singular values
...
Using numpy methods that are intended for vectorized operations is
substantially slower than using the math module, so when feasible the
math module methods should be used.
2021-04-23 11:53:00 -07:00
KIU Shueng Chuan
185f9c7dad
remove scale, rotate and translate shims
2021-02-01 09:06:23 +08:00
Luke Campagnola
ebc805a45f
workaround pyside bug #671
2018-05-23 21:12:16 -07:00
Luke Campagnola
e21d06b4c4
add missing example template file
...
add note about pyside bug affecting optics example
2016-11-04 22:47:10 -07:00
Luke Campagnola
f6b00a135c
fix optics demo on python3
...
print warning when setuptools is not available
2016-10-18 08:47:38 -07:00
Luke Campagnola
1fe5976e19
Merge branch 'pyqt5' into develop
...
Conflicts:
examples/parametertree.py
pyqtgraph/Qt.py
pyqtgraph/graphicsItems/FillBetweenItem.py
pyqtgraph/graphicsItems/InfiniteLine.py
pyqtgraph/imageview/ImageView.py
2015-02-28 11:46:41 -05:00
Luke Campagnola
6e9d5c3cfb
Python 3 fixes for new demos
2014-05-22 01:30:15 -04:00
Luke Campagnola
0524bfa6e8
Added new demos:
...
- Relativity simulator
- Optics simulator
- Mechanical chain simulator
2014-05-22 01:22:12 -04:00