Skip to main content

Where are Solar System objects located in TESS FFI data?

Project description

Where are Solar System objects located in TESS FFI data?

pypi pytest black flake8 mypy

tess-ephem is a user-friendly package which enables users to compute the positions of Solar System objects – asteroids, comets, and planets – in the data archive of NASA’s TESS Space Telescope.

Installation

python -m pip install tess-ephem

Example use

tess-ephem allows you to search the entire archive of TESS FFI’s for the presence of a known minor planet, and obtain the result as a Pandas DataFrame. For example:

>>> from tess_ephem import ephem
>>> ephem("Sedna")
                         sector  camera  ccd       column          row
time
2018-11-16 00:00:00.000       5       1    4  1543.312296  1102.821559
2018-11-17 00:00:00.000       5       1    4  1545.160910  1102.880825
2018-11-18 00:00:00.000       5       1    4  1547.011351  1102.934375
...
2018-12-09 00:00:00.000       5       1    4  1584.585407  1102.239292
2018-12-10 00:00:00.000       5       1    4  1586.245261  1102.132304
2018-12-11 00:00:00.000       5       1    4  1587.906380  1102.012091

You can also obtain the ephemeris for one or more specific times by passing the time parameter:

>>> ephem("Sedna", time="2018-11-21 17:35:00")
                         sector  camera  ccd       column          row
time
2018-11-21 17:35:00.000       5       1    4  1553.887838  1103.048431

Additional physical parameters can be obtained by passing the verbose=True parameter:

>>> ephem("Sedna", time="2018-11-21 17:35:00", verbose=True)
                         sector  camera  ccd       column          row  pixels_per_hour        ra      dec    vmag  sun_distance  obs_distance  phase_angle
time
2018-11-21 17:35:00.000       5       1    4  1553.887838  1103.048431         0.074054  57.05786  7.63721  20.612     84.942885     83.975689       0.1419

Finally, using the companion tess-locator package, you can convert the TESS pixel coordinates directly to FFI filenames and urls:

>>> from tess_locator import TessCoordList
>>> df = ephem("Sedna", time=["2018-11-21 17:35:00", "2018-11-22 17:35:00"])
>>> TessCoordList.from_pandas(df).get_images()
List of 2 images
[TessImage(filename='tess2018325165939-s0005-1-4-0125-s_ffic.fits', begin='2018-11-21 17:07:46', end='2018-11-21 17:37:46')
  TessImage(filename='tess2018326165939-s0005-1-4-0125-s_ffic.fits', begin='2018-11-22 17:07:46', end='2018-11-22 17:37:46')]

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-ephem-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

tess_ephem-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file tess-ephem-0.1.0.tar.gz.

File metadata

  • Download URL: tess-ephem-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/19.6.0

File hashes

Hashes for tess-ephem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 932300a551f336ef8695dbc573fa1f6c028c8e560c15259a229163b0d2da053b
MD5 776fa28caa19a3a2567d38a575d0265a
BLAKE2b-256 f3f1208571e478cde580c5a0185c21e04575d4a202c58ae131a75dd0fd1f9534

See more details on using hashes here.

File details

Details for the file tess_ephem-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tess_ephem-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/19.6.0

File hashes

Hashes for tess_ephem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 489537939a75faab931950290295c7d2e90e23050fbdf2f94bd58fb8a464f170
MD5 8d1799cbdef60de98998e2dca26a4a63
BLAKE2b-256 921dfb7d7b8d55b2131edf9d3b00ec2d25b6fa1516578ba1512752fed42b115d

See more details on using hashes here.

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