Comments (10)
- 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 aquiet
parameter or make the logging more configurable otherwise using Python's logging framework.
from pyke.
Yep, sounds great!
from pyke.
We can use something like: np.seterr(divide='ignore', invalid='ignore')
to suppress warnings
from pyke.
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.
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.
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.
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.
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.
- 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.
Great! I'm going to close this because the remaining points already have their own tickets. Thanks @gully
from pyke.
Related Issues (20)
- Add a convenience function to stitch multiple quarters straight from the archive HOT 2
- Add a `diagnostic_movie()` method to `SPLDCorrector`
- kepclean is still available on the command line HOT 4
- PyKE docs need an "Other packages" page
- The output of LightCurve.fold() should be sorted by phase time
- Add a `LightCurve.bin()` method HOT 1
- KeplerCBVCorrector breaks when the module fails
- options for bitmask in kepextract should be intuitive
- TPF should have a plotting function that shows the aperture mask HOT 4
- Consider using scikit-learn's robust linear estimator fitting inside `SFFCorrector`
- Stitch method from LightCurve doesn't work properly with KeplerLightCurve
- KeplerTargetPixelFile plot function could produce a movie HOT 2
- Decide the "best" number of CBVs
- Expose the mean model for CBV correction to the user HOT 1
- Add a `LightCurve.inject_planet()` method
- Add a `LightCurve.invert()` method
- TargetPixelFile should have a keppixseries 'plot_pixseries()' function
- Remove the Python API in favor of a dependency on `lightkurve`
- kepextract null option invalid
- import error after success installation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyke.