astrobase
This is a bunch of Python modules I wrote for my astronomy work with the HAT surveys, mostly focused on handling light curves and characterizing variable stars. Module functions that deal with light curves (e.g. in the modules astrobase.lcmath, astrobase.periodbase, astrobase.varbase, astrobase.plotbase, and astrobase.checkplot) usually just require three numpy ndarrays as input: times, mags, and errs, so they should work with any time-series data that can be represented in this form. If you have flux time series measurements, most functions take a magsarefluxes keyword argument that makes them handle flux light curves correctly.
Full documentation is still a work in progress (as soon as I figure out how Sphinx works), but the docstrings are fairly good and an overview is provided at https://github.com/waqasbhatti/astrobase, along with Jupyter notebooks that demonstrate some of the functionality.
Changelog
Please see https://github.com/waqasbhatti/astrobase/blob/master/CHANGELOG.md for the latest changelog for tagged versions.
Installation
This package requires the following other packages:
numpy
scipy
astropy
matplotlib
Pillow
jplephem
requests
tornado
pyeebls
tqdm
scikit-learn
For some extra functionality, you’ll need the following modules:
for astrobase.lcdb to work, you’ll also need psycopg2
First, make sure numpy and a Fortran compiler are installed
## you'll need a Fortran compiler. ## ## on Linux: dnf/yum/apt install gcc gcc-gfortran ## ## on OSX (using homebrew): brew install gcc ## ## make sure numpy is installed first! ## ## this is required for the pyeebls module installation ## (venv)$ pip install numpy # in a virtualenv # or use dnf/yum/apt install numpy to install systemwide
Next, install astrobase
(venv)$ pip install astrobase
If you want to install all optional dependencies as well
(venv)$ pip install astrobase[all]
Or if you want the latest version
$ git clone https://github.com/waqasbhatti/astrobase $ cd astrobase $ python setup.py install $ # or use pip install . to install requirements automatically $ # or use pip install -e . to install in develop mode along with requirements
Metadata
Release files for astrobase 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| astrobase-0.2.8.tar.gz | 629.6 kB | Without provenance | Details for astrobase-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astrobase-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for astrobase-0.2.8-py3-none-any.whl |
Total release size: 1.3 MB
Release files / astrobase-0.2.8.tar.gz
| Download URL | astrobase-0.2.8.tar.gz |
|---|---|
| Size | 629.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04fd402fae15a891c417a9c7d7059f7c1b4222a5abdee74a9d7d132f50094fbf
|
|
BLAKE2b-256 checksum How to use checksums |
199173be9942116c624d5544d68eed753a7108e7d198f74a66a1c4001dc508a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / astrobase-0.2.8-py3-none-any.whl
| Download URL | astrobase-0.2.8-py3-none-any.whl |
|---|---|
| Size | 664.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ca20ee755799a2dfa7b2021b58535f70143d67577be3e15c1ef2ccfac82570f
|
|
BLAKE2b-256 checksum How to use checksums |
f6e02127c6aabcb2a6bc65720bac20557ce14a10dbe704722c85b92a258bea2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for astrobase 0.2.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.