jradavenport / FFIorBUST

Make really bad light curves from the Kepler Full Frame Images
1 stars 2 forks source link

Error looping over every extension #6

Closed jradavenport closed 8 years ago

jradavenport commented 8 years ago

When running light_curves(), get error:

IndexError: list index out of range

Can replicate by trying to analyze the last extension with exposure.extension

I have verified every FFI files has 85 extensions, 1 for header info and 84 detector channels. So ex.extension(85) should get sources for the 84'th channel.

hover2pi commented 8 years ago

Fixed!