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
:bulb: See example Jupyter Notebooks in the
notebooks
folder.
>>> 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
{}
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.2.tar.gz
(28.4 kB
view hashes)
Built Distribution
Close
Hashes for panoptes_data-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84b5493dbb757e54aa5f28d85b1c873248d51e48abcedacee874476bb891e87f |
|
MD5 | 4eb3631c39d8c882bdda80bc376d0560 |
|
BLAKE2b-256 | 89fb0e4a70a4617a29eaae79281f3ed11ec2a20ebb988cfff2e85617d64e8fab |