Skip to content

Looks like there is an OBO error in tess_cloud.cutout_asteroid #4

@christinahedges

Description

@christinahedges

I think I'm finding an OBO error in tess_cloud.cutout_asteroid.

Either it's an OBO error in the column position, or it's an OBO error in time. Below is an example.

I'm also finding that the times in tess_cloud.cutout_asteroid do not match the times from TESSCut.

from tess_cloud import cutout_asteroid
import lightkurve as lk
import matplotlib.pyplot as plt

tpf = cutout_asteroid("3166")
stpf = lk.search_tesscut('358.6895230830988 -9.942252118010982', sector=2).download(cutout_size=(10, 10), quality_bitmask=None)

idx = 499

# TESS Cut
plt.figure()
plt.pcolormesh(stpf.column + np.arange(10), stpf.row + np.arange(10), stpf.flux[idx].value, vmin=0, vmax=500, cmap='viridis')
plt.gca().set_aspect('equal')
plt.title(f'TESSCut TPF\nTime: {stpf.time[idx].value}')

#tess_cloud
jdx = 100 
plt.figure()
plt.pcolormesh(c[jdx] + np.arange(10), r[jdx] + np.arange(10), tpf.flux[jdx].value, vmin=0, vmax=500, cmap='viridis')
plt.gca().set_aspect('equal')
plt.title(f'Moving TPF\nTime: {tpf.time[jdx].value}')

#tess_cloud
jdx = 99
plt.figure()
plt.pcolormesh(c[jdx] + np.arange(10), r[jdx] + np.arange(10), tpf.flux[jdx].value, vmin=0, vmax=500, cmap='viridis')
plt.gca().set_aspect('equal')
plt.title(f'Moving TPF\nTime: {tpf.time[jdx].value}')

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions