Code Monkey home page Code Monkey logo

Comments (1)

Yash-10 avatar Yash-10 commented on May 18, 2024

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]: from test_detrend import test_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 in test_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?

Below is the pip freeze output:

astropy==4.3.1
cycler==0.10.0
everest-pipeline==2.0.12
george==0.4.0
k2plr==0.2.9
kiwisolver==1.3.2
matplotlib==3.4.3
numpy==1.21.2
Pillow==8.3.2
pyerfa==2.0.0
pyparsing==2.4.7
PyPDF2==1.26.0
pysyzygy==0.0.2
python-dateutil==2.8.2
scipy==1.7.1
six==1.16.0

from everest.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.