Skip to content

tesscube needs functionality to add apertures for targets #18

@christinahedges

Description

@christinahedges

tesscube currently produces SPOC-like TPFs from the FFIs for TESS and is fast, and easy to install either locally or on a AWS instance (e.g. TiKE). We need to include apertures as part of this package to improve usability.

If a user uses the get_tpf function, this TPF would be returned with an aperture extension that is the same format as the SPOC aperture extension, and the header would include FLFRCSAP and CROWDSAP, as part of the returned HDUList. The aperture should follow the SPOC standard of using bit flags for on target (values are 0, 1, 2, 3). The data processing handbook should provide guidance on this.

The aperture would be for the target specified, if no target is specified it would return a fits file with no aperture and blank header keyword arguments.

This functionality should

  • Depend on lkprf for the aperture. Dependencies should be managed with poetry
  • Mimic SPOC format as closely as possible
  • Be efficient, avoiding material slow downs to the user
  • Include tests for the new functionality. Any tests requiring remote data should be marked
  • Include new documentation showing this functionality (i.e. a tutorial notebook), update existing documentation where appropriate

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions