Skip to content
/ sydsap Public

A Python package for generating light curves from TESS target pixel files

License

Notifications You must be signed in to change notification settings

hvidy/sydsap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sydsap

Licence

Contributors

Tim White

Installation

To install from source: clone this git repo, enter the directory, and run

python setup.py install

Rationale

Occassionally, light curves provided by the TESS Science Processing Operations Center (SPOC) contain significant scatter, particularly during periods of less stable spacecraft pointing. Often the light curve quality can be significantly improved by picking a different, generally larger, aperture. The purpose of this code is to generate improved light curves when this situation occurs, primarily using methods from the lightkurve package. It first generates a new aperture mask, then calculates a new light curve from simple aperture photometry over this mask. Finally, it removes some instrumental noise using linear regression.

Basic usage

First change the class of the target pixel file to the sydsap_tpf class, then run tpf.sydsap():

from sydsap.sydsap import sydsap_tpf

tpf__class__ = sydsap_tpf

lc = tpf.sydsap()

License

We invite anyone interested to use and modify this code under a GPL v3 license.

About

A Python package for generating light curves from TESS target pixel files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published