You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues noticed by @kvangorkom and originally reported in #222:
A few things I noticed that probably deserve their own issues :
I'm not sure that test_zernikes_rms is performing the check quite correctly. The line
assert 1.0 - rms < 0.001, "Zernike(j={}) has RMS value of {}".format(j, rms)
ought to be
assert abs(1.0 - rms) < 0.001, "Zernike(j={}) has RMS value of {}".format(j, rms)
correct? Otherwise, RMS values > 1 sneak on by. (The latter is how I formulated it in test_arbitrary_basis_rms)
I'm not sure the different combinations of rho, theta being None are handled correctly (theta=None with rho defined hits an array broadcasting error, rho=None with theta defined runs successfully with unexpected results). I get the same behaviors with zernike_basis as with arbitrary_basis, so I left it alone for now.
hexike_basis ignores the outside argument.
The text was updated successfully, but these errors were encountered:
Issue by mperrin
Tuesday May 23, 2017 at 18:38 GMT
Originally opened as mperrin/poppy#223
Issues noticed by @kvangorkom and originally reported in #222:
A few things I noticed that probably deserve their own issues :
test_zernikes_rms
is performing the check quite correctly. The lineought to be
correct? Otherwise, RMS values > 1 sneak on by. (The latter is how I formulated it in
test_arbitrary_basis_rms
)rho
,theta
beingNone
are handled correctly (theta=None
withrho
defined hits an array broadcasting error,rho=None
withtheta
defined runs successfully with unexpected results). I get the same behaviors withzernike_basis
as witharbitrary_basis
, so I left it alone for now.hexike_basis
ignores theoutside
argument.The text was updated successfully, but these errors were encountered: