Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some of the slow down in tesscube, fix tuple problem. #10

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

christinahedges
Copy link
Collaborator

@mrtommyb has pointed out that tesscube is slower than its previous versions. I have

  1. Made some speed increases by calculating all the fits headers required on initialization of the TESSCube object, rather than during the TPF creation, as this is a one time calculation and can take ~1 second
  2. Made the calculation of POS_CORR1 and POS_CORR2 optional. This step requires iterating through all the SPOC assigned WCS and calculating the source position. This is costly, but I've included it as this produces the most SPOC-like TPF product. It now has an optional flag.

@christinahedges
Copy link
Collaborator Author

Fixes #9 and Fixes #8

@christinahedges christinahedges merged commit 432fd6b into main Aug 28, 2024
4 checks passed
@christinahedges
Copy link
Collaborator Author

Closes #8 Closes #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant