Skip to main content

Fast offline queries of TESS FFI positions and filenames.

Project description

Fast offline queries of TESS FFI positions.

pypi pytest black flake8 mypy

tess-locator is a user-friendly package which allows TESS pixel coordinates to be queried in a fast way without requiring internet access.

Installation

python -m pip install tess-locator

Example use

Converting celestial to pixel coordinates:

>>> from tess_locator import locate
>>> locate("Alpha Cen")
List of 3 coordinates
[TessCoord(sector=11, camera=2, ccd=2, column=1699.1, row=1860.3, time=None)
  TessCoord(sector=12, camera=2, ccd=1, column=359.9, row=1838.7, time=None)
  TessCoord(sector=38, camera=2, ccd=2, column=941.1, row=1953.7, time=None)]

Obtaining pixel coordinates for a specific time:

>>> locate("Alpha Cen", time="2019-04-28")
List of 1 coordinates
[TessCoord(sector=11, camera=2, ccd=2, column=1699.1, row=1860.3, time=2019-04-28 00:00:00)]

Documentation

Please visit the tutorial.

Similar packages

  • tess-point is what we use behind the scenes. Compared to tess-point, we add a user-friendly API and the ability to specify the time, which is important for moving objects.

  • astroquery.mast includes the excellent TesscutClass.get_sectors() method which queries a web API. This package provides an offline version of that service, and adds the ability to query by time.

  • tess-waldo lets you visualize how a target moves over the detector across sectors. It queries the TessCut service to obtain this information. This package adds the ability to create such plots offline.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tess-locator-0.3.0.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

tess_locator-0.3.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page