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
i am a graduate student,i am very interested in your code,but i can not run your test example.Is the test_detrend is an example for the detrending,i am not sure whether i run right or wrong.could you help me or give me another specific example,thank you very much @rodluger
The text was updated successfully, but these errors were encountered:
Hello @ruimeng-duan I was going through the issues and came here. I tried to run the test_detrend module by going into the tests directory and running (in an IPython shell):
In [1]: fromtest_detrendimporttest_detrend
...: test_detrend()
I got the following output running it the first time inside a virtual environment:
[pysyzygy] Compiling C source code...
[pysyzygy] Generating shared library...
[pysyzygy] Install successful.
De-trended CDPP: nan ppm
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-1-c4ea1f4325df>in<module>
1 from test_detrend import test_detrend
----> 2 test_detrend()
~/everest/tests/test_detrend.py intest_detrend()
70 # Check!
71 print("De-trended CDPP: %.3f ppm" % star.cdpp)
---> 72 assert (star.cdpp > 15.) and (star.cdpp < 19.), \
73 "De-trended CDPP is different from benchmark value (17.302 ppm)."
74
AssertionError: De-trended CDPP is different from benchmark value (17.302 ppm).
It seems somehow the CDPP value is nan. Do you also get the same error?
i am a graduate student,i am very interested in your code,but i can not run your test example.Is the test_detrend is an example for the detrending,i am not sure whether i run right or wrong.could you help me or give me another specific example,thank you very much @rodluger
The text was updated successfully, but these errors were encountered: