Skip to content

k2sc example fails to run #26

@gjtucson

Description

@gjtucson

Hi folks,

I am trying to use the k2sc code for Kepler K2 data. I've run into a couple of issues for which I hope you can direct me back to the right path.

To get started, I am trying to run the example notebook at:

https://github.com/OxES/k2sc/blob/master/notebooks/lightkurve.ipynb

I've had to make a change for the current version of lightkurve, in that KeplerTargetPixelFile.from.archive is not available, so I switched to search_targetpixelfile, and I specify (cadence='long', mission='K2').

Then I can get a tpf returned and the image looks exactly like the one in the example.

However, the lc.flux plot looks a bit different, which may be ok, but suspicious. Interestingly, when I look at the FITS header in the example, it shows as campaign 6 (correct). The output for the command:

lc.k2sc()

though, prints "Using default splits [2344] for campaign 5. Where did campaign 5 come from, and is that an issue?

Then k2sc iterates for 103 times and eventually completes. When I run the code, lc.k2sc() uses splits for campaign 6 (which seems right), iterates 37 times, and subsequently dies after:

"Starting final outlier detection" in "detrend".

Any suggestions would be great!

George Jacoby
jacoby@noao.edu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions