Where are Solar System objects located in TESS FFI data?
Project description
Where are Solar System objects located in TESS FFI data?
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tess-ephem-0.1.1.tar.gz
.
File metadata
- Download URL: tess-ephem-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf67d67bb2a8c6b323546ec5dcb411df208482220a7c957e7f399852cab04271 |
|
MD5 | 94072d935b7ba29c72f7c7f17e199c43 |
|
BLAKE2b-256 | 13bd1bc43271a6a454fb54215438d652c96aff7dec7c9a99c0152cc80f4999e6 |
File details
Details for the file tess_ephem-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: tess_ephem-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd2dd98402741bb2c4658345fe1037783c7b2d236e86b0a0c078c45d345fb826 |
|
MD5 | 39c5deda5976f4c8d3c36738dea64c32 |
|
BLAKE2b-256 | 5cb8e0c5534423d45aa4da848a1b5a05af6a3c5711fef3896093bd33ce3dc31f |