Giter Club home page Giter Club logo

Comments (10)

barentsen avatar barentsen commented on August 15, 2024
  • All docs edit sound good!
  • We should definitely look into fixing or suppressing some of the useless invalid value warnings (likely due to NaNs in the data etc);
  • I think all tools should print a minimum set of useful feedback even without verbose=True, but we could look into adding a quiet parameter or make the logging more configurable otherwise using Python's logging framework.

from pyke.

mirca avatar mirca commented on August 15, 2024

Yep, sounds great!

from pyke.

mirca avatar mirca commented on August 15, 2024

We can use something like: np.seterr(divide='ignore', invalid='ignore') to suppress warnings

from pyke.

gully avatar gully commented on August 15, 2024

TkAGG appears to be misbehaving while attempting to use kepdraw, following the Quickstart guide

$ kepdraw kplr008462852-2013098041711_lpd-targ-kepextract.fits
WARNING: VerifyWarning: Invalid keyword for column 4: Column null option (TNULLn) is invalid for binary table columns of type 'E' (got -1).  The invalid value will be ignored for the purpose of formatting the data in this column. [astropy.io.fits.column]
Found the following flux columns: SAP_FLUX, SAP_FLUX_ERR, PDCSAP_FLUX, PDCSAP_FLUX_ERR, RAW_FLUX
Using data column PDCSAP_FLUX on the plot...
Writing output file kplr008462852-2013098041711_lpd-targ-kepextract-kepdraw.png...
Traceback (most recent call last):
  File "/Users/obsidian/anaconda3/bin/kepdraw", line 11, in <module>
    load_entry_point('pyketools', 'console_scripts', 'kepdraw')()
  File "/Users/obsidian/GitHub/PyKE/pyke/kepdraw.py", line 344, in kepdraw_main
    args.verbose, args.logfile)
  File "/Users/obsidian/GitHub/PyKE/pyke/kepdraw.py", line 276, in kepdraw
    plt.show()
  File "/Users/obsidian/anaconda3/lib/python3.6/site-packages/matplotlib/pyplot.py", line 253, in show
    return _show(*args, **kw)
  File "/Users/obsidian/anaconda3/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 193, in __call__
    self.mainloop()
  File "/Users/obsidian/anaconda3/lib/python3.6/site-packages/matplotlib/backends/backend_tkagg.py", line 71, in mainloop
    Tk.mainloop()
  File "/Users/obsidian/anaconda3/lib/python3.6/tkinter/__init__.py", line 557, in mainloop
    _default_root.tk.mainloop(n)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

from pyke.

gully avatar gully commented on August 15, 2024

The kepcotrend documentation seems a bit out of date:

While GOs, KASC members and archive users wait for the Kepler project to release quarters of data, they do not have access to all the light curve data

and:

More details on the method used to generate these basis vectors will be provided in the Kepler Data Processing Handbook soon, but until that time, a summary of the method is given here.

from pyke.

gully avatar gully commented on August 15, 2024

The API documentation generates locally (make html), but does not show up on the web:

http://pyke.keplerscience.org/en/latest/api/kepmask.html

from pyke.

gully avatar gully commented on August 15, 2024

More generally, it looks like the docs online are not updated. Example 1 tutorial has an old image kepmask1.png, while my local version shows a new one kepmask2.png.

from pyke.

gully avatar gully commented on August 15, 2024

I got a recursion error while using kepmask:

[...]

  File "/Users/obsidian/GitHub/PyKE/pyke/kepmask.py", line 414, in clicker6
    plotimage()
  File "/Users/obsidian/GitHub/PyKE/pyke/kepmask.py", line 202, in plotimage
    plt.axes([0.73, 0.09, 0.25, 0.4])

[...]
RecursionError: maximum recursion depth exceeded while calling a Python object

from pyke.

gully avatar gully commented on August 15, 2024
  • In the Example 1, "kepdraw ktwo202073445-c00_lpd-targ-kepextract-kepclip-kepflatten-kepsff.fits--datacol DETSAP_FLUX", a space is needed before --datacol to copy-paste verbatim

from pyke.

mirca avatar mirca commented on August 15, 2024

Great! I'm going to close this because the remaining points already have their own tickets. Thanks @gully

from pyke.

Related Issues (20)

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.