Tools to interact with Pitt-Google Broker data products and services.
Project description
pgb_utils
: Tools for interacting with Pitt-Google Broker
See tutorials/PGB_Tutorial.ipynb for an intro on using this package to access our data.
pgb_utils
is a collection of helper functions to facilitate interaction with Pitt-Google Broker data. The tutorial will demonstrate its use. The package is essentially a set of:
- Convience wrappers for the Google Cloud Python SDK
- Helper functions for ZTF data decoding and plotting, provided by ZTF (see Filtering_alerts.ipynb)
- Helper functions for running Apache Beam pipelines
You are encouraged to look at and alter the source code to learn how to use the underlying methods yourself.
Modules and their functionality include:
-
pgb_utils.beam
- helper functions for running Apache Beam data pipelines
-
pgb_utils.bigquery
- view dataset, table, and schema information
- query: lightcurves
- query: cone search
- cast query results to a
pandas.DataFrame
orjson
formatted string.
-
pgb_utils.figures
- plot lightcurves
- plot cutouts
-
pgb_utils.utils
- general utilities such as data type casting
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
pgb_utils-0.1.1.tar.gz
(24.6 kB
view hashes)
Built Distribution
pgb_utils-0.1.1-py3-none-any.whl
(34.8 kB
view hashes)
Close
Hashes for pgb_utils-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12cf43f25113f8b318c554d87afb7d4067febc4e1acab08b9df7c229c3f651d2 |
|
MD5 | eae0c251e4d1cc94fd97d9b13dcbddff |
|
BLAKE2b-256 | d54b5ef1de6dced250cf43333ce50c4e72c49f1c8edb047f1fc5779da218a1d4 |