Open cr-xu opened 5 days ago
Hmm... so KDE clearly makes the screen reading slower, as expected :)
@jank324 Shall we
use_kde=False
by default?I think we should provide both. Im just wondering whether it should be use_kde=True
or method="kde"
.
Description
Add an option for
Screen
element. Now it can use KDE to get the beam image which allows differentiation. Behavior can be switched usingmethod="histogram"
andmethod="kde"
. It contains a new featurekde_bandwidth
for smoothing the beam image.The returned image has the convention [...,Y, X] where y-axis starts from the top of the image, e.g.
plt.imshow()
will show the image uprightMotivation and Context
Types of changes
Checklist
flake8
(required).pytest
tests pass (required).pytest
on a machine with a CUDA GPU and made sure all tests pass (required).Note: We are using a maximum length of 88 characters per line