No support for KEPSEISMIC lightcurves
See original GitHub issueProblem description
Possibly more of a feature request than a bug but my searches through Lightkurve don’t return any lightcurves from the KEPSEISMIC HLSP, although the corresponding MAST searches do.
Example
import lightkurve
print(lk.search_lightcurve('KIC 1292147', mission='Kepler')) # only contains author 'Kepler'
produces
SearchResult containing 17 data products.
# mission year author exptime target_name distance
s arcsec
--- ----------------- ---- ------ ------- ------------- --------
0 Kepler Quarter 01 2009 Kepler 1800 kplr001292147 0.0
1 Kepler Quarter 02 2009 Kepler 1800 kplr001292147 0.0
2 Kepler Quarter 03 2009 Kepler 1800 kplr001292147 0.0
3 Kepler Quarter 04 2010 Kepler 1800 kplr001292147 0.0
4 Kepler Quarter 05 2010 Kepler 1800 kplr001292147 0.0
5 Kepler Quarter 06 2010 Kepler 1800 kplr001292147 0.0
6 Kepler Quarter 07 2010 Kepler 1800 kplr001292147 0.0
7 Kepler Quarter 08 2011 Kepler 1800 kplr001292147 0.0
8 Kepler Quarter 09 2011 Kepler 1800 kplr001292147 0.0
9 Kepler Quarter 10 2011 Kepler 1800 kplr001292147 0.0
10 Kepler Quarter 11 2012 Kepler 1800 kplr001292147 0.0
11 Kepler Quarter 12 2012 Kepler 1800 kplr001292147 0.0
12 Kepler Quarter 13 2012 Kepler 1800 kplr001292147 0.0
13 Kepler Quarter 14 2012 Kepler 1800 kplr001292147 0.0
14 Kepler Quarter 15 2013 Kepler 1800 kplr001292147 0.0
15 Kepler Quarter 16 2013 Kepler 1800 kplr001292147 0.0
16 Kepler Quarter 17 2013 Kepler 1800 kplr001292147 0.0
i.e. nothing with author KEPSEISMIC.
Expected behavior
A MAST search on the same target (KIC 1292147) returns the three KEPSEISMIC data products:
hlsp_kepseismic_kepler_phot_kplr001292147-20d_kepler_v1_cor-filt-inp
hlsp_kepseismic_kepler_phot_kplr001292147-55d_kepler_v1_cor-filt-inp
hlsp_kepseismic_kepler_phot_kplr001292147-80d_kepler_v1_cor-filt-inp
so I expected the search to have lines something like
...
17 Kepler KEPSEISMIC-20d 1800 kplr001292147 0.0
18 Kepler KEPSEISMIC-55d 1800 kplr001292147 0.0
19 Kepler KEPSEISMIC-80d 1800 kplr001292147 0.0
...
Environment
- Fedora 33
- lightkurve 2.0.2
- via pip 20.2.2
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Kepler Light Curves Optimized For Asteroseismology ...
KEPSEISMIC light curves are obtained from Kepler pixel-data files using large custom apertures that produce more stable light curves on ...
Read more >Surface Rotation and Photometric Activity for Kepler Targets. I ...
We typically construct the KEPSEISMIC light curves using larger apertures than those of the PDC-MAP time-series, which leads to an increase in the...
Read more >Full changelog - Lightkurve
Fixed a bug in CBVCorrector causing it to not work on K2 data. [#1012] ... Added support for reading KEPSEISMIC light curves. [#972]....
Read more >arXiv:1908.05222v2 [astro-ph.SR] 15 Aug 2019
and KEPSEISMIC light curves are likely to be associ- ... lower masses, there is no sufficient evidence to support or reject that hypothesis....
Read more >Detections of solar-like oscillations in dwarfs and subgiants ...
We then use the PDC-MAP light curves to confirm that the rotational signal does not result from pollution (instrumental or stellar) as the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A PR wouldn’t be that small because, ideally, it would include the following:
lightkurve/io/kepseismic.py
to introduce a reader function for Kepseismic.detect_filetype
function indetect.py
to detect a Kepseismic file, ideally based on a FITS header keyword that identifies it, if available.read
function inread.py
to route a Kepseismic file to the new Kepseismic reader.tests/io/test_kepseismic.py
to verify that we can indeed read in a Kepseismic file. This can use a hard-coded url of a Kepseismic light curve file.In the reader function, it would be useful to have a docstring that mentions any quirks of interest related to the Kepseismic product (e.g. the fact that it covers all of Kepler, not just a single quarter). It will also be good to figure out if the light curves are normalized, and if so, set
lc.meta["NORMALIZED"] = True
.That’s plenty of work for a single PR!! It’s of course fine to figure out what you can, and I’m happy to review/comment/edit a PR to get it perfect.
Thank you @scfleming! 👍