Check overlap only on forward-propagating part of mode

This commit is contained in:
Jan Petykiewicz 2025-01-14 21:59:37 -08:00
parent 4e3a163522
commit 76701f593c

View File

@ -236,7 +236,7 @@ def test1(solver=generic_solver):
pyplot.grid(alpha=0.6) pyplot.grid(alpha=0.6)
pyplot.title('Overlap with mode') pyplot.title('Overlap with mode')
pyplot.show() pyplot.show()
print('Average overlap with mode:', sum(q)/len(q)) print('Average overlap with mode:', sum(q[8:32])/len(q[8:32]))
def module_available(name): def module_available(name):