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.3.tar.gz
(29.0 kB
view details)
Built Distribution
File details
Details for the file panoptes-data-0.0.3.tar.gz
.
File metadata
- Download URL: panoptes-data-0.0.3.tar.gz
- Upload date:
- Size: 29.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b20a557ffaa4aaf48acf8a2b2e7c2608d3280cdf373e90e75e12804d06aa1d66 |
|
MD5 | 326ba62995e420dd97db6e0acfb58f19 |
|
BLAKE2b-256 | aeb9c69157c6d04693ad1552f57e32d368919acce121016a192e74f0d13d7f52 |
File details
Details for the file panoptes_data-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: panoptes_data-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 837982a904e94eda8898ad7202168613e48dd31ce7816874532f318e800b0892 |
|
MD5 | 4f221c34f94eb514958a5d1c87e8554d |
|
BLAKE2b-256 | 812bb575c04f960e9db8107dc124316ff4f8cfa20fc108e42c3d197c71fc6c1a |