Tools for working with PANOPTES data.
Project description
PANOPTES Data tools
Tools for working with PANOPTES data.
Install
Install from pip:
pip install panoptes-data
Examples
See example Jupyter Notebooks in the
notebooks
folder.
Finding observations
>>> from panoptes.data.search import search_observations
>>> from panoptes.data.observations import ObservationInfo
>>> # Find some observations
>>> results = search_observations(by_name='M42')
>>> # Use last result entry to create ObservationInfo object.
>>> obs_info = ObservationInfo(meta=results.iloc[0])
>>> obs_info.meta
camera_id 14d3bd
camera_lens_serial_number HA0028608
camera_serial_number 12070048413
coordinates_mount_dec -6.229778
coordinates_mount_ra 76.0815
exptime 120.0
field_name Wasp 35
num_images 28.0
sequence_id PAN001_14d3bd_20180113T052325
software_version POCSv0.6.0
time 2018-01-13 05:23:25+00:00
total_exptime 3360.0
unit_id PAN001
Name: 6121, dtype: object
>>> # Create an ObservationInfo object directly from a sequence_id.
>>> obs_info = ObservationInfo('PAN001_14d3bd_20180113T052325')
>>> # But then there is no metadata:
>>> obs_info.meta
{}
Downloading images
The ObservationInfo
object makes it easy to download the files:
>>> obs_info.download_images()
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
panoptes-data-0.0.4.tar.gz
(29.0 kB
view hashes)
Built Distribution
Close
Hashes for panoptes_data-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee564bd466cdb7f50a4c18d5736616076b7d9ab2042f6249e659e9c3bbc82253 |
|
MD5 | d204a73c35eb5b403f67d0926555bb0c |
|
BLAKE2b-256 | 54c4d0b581cc845bfbece798a1a507ecc63504d882b07e8ff45fd8817f87ca9a |