Append does not track metadata-- returns copy of metadata of just one lightcurve
See original GitHub issueAppend does not track metadata-- returns copy of metadata of just one lightcurve
lcf = KeplerLightCurveFile.from_archive(6922244, quarter=4)
lcf2 = KeplerLightCurveFile.from_archive(6922244, quarter=5)
lc = lcf.SAP_FLUX
lc2 = lcf2.SAP_FLUX
lc.channel, lc2.channel
(31, 3)
new_lc = lc_a.append(lc_b)
new_lc.channel
31
'''
Is this behavior desired?
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to extract the Gaia ancillary data using datalink
Information and example on how to extract the Gaia multi-dimensional data / ancillary data using datalink.
Read more >Lightkurve/lightcurve.py at master - GitHub
Light curves to be appended to the current one. Returns. -------. new_lc : LightCurve object. Concatenated light curve. """ if not hasattr(others, ...
Read more >Unsupported Metadata Types | Metadata API Developer Guide
The following components can't be retrieved or deployed with Metadata API, and changes to them must be made manually in each of your...
Read more >Metadata API Developer Guide
Salesforce does not guarantee that an application written against one API version will work with future API versions: Changes in method.
Read more >Zwicky Transient Facility - IRSA IPAC - Caltech
For each of the above surveys, there is one g-!lter and one r-!lter exposure of ... CCD-quadrant-based calibration image data and metadata in...
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
I suggest the following way forward for this issue:
LightCurve
object that does not contain metadata that is specific to e.g. an individualKeplerLightCurve
(e.g.channel
is not an attribute ofLightCurve
).LichtCurveCollection.stitch()
method. TheLightCurve.append()
method should either be removed, or be a light wrapper aroundLichtCurveCollection.stitch()
.@nksaunders Do you want to look into this as part of #309?
Just before merging I made a small change to make sure
LightCurveCollection
could hold multiple lightcurves with the sametargetid
. I was worried users will be confused if a collection can’t hold any arbitrary combination ofLightCurve
objects.