pyeebls
This is a module that wraps Geza Kovacs' eebls.f. Taken from Daniel Foreman-Mackey's python-bls module and broken out for easier use by other packages. This is used by the astrobase.periodbase module.
eebls.f
- Kovacs, Zucker & Mazeh 2002, A&A, Vol. 391, 369
- http://arxiv.org/abs/astro-ph/0206099
- http://www.konkoly.hu/staff/kovacs/eebls.f
python-bls
- Foreman-Mackey, D., Angus, R., et al. 2012
- https://github.com/dfm/python-bls.git
pyeebls
- Bhatti, W., et al. 2017
- https://github.com/waqasbhatti/pyeebls
Installation
This package is available from PyPI: https://pypi.python.org/pypi/pyeebls. If you're using Python 2.7, 3.4--3.6 on 64-bit Linux or Python 2.7/3.6 on 64-bit Windows or Mac OSX >= 10.12, you should be able to install the binary wheels from PyPI so no Fortran compiler is needed.
(venv)$ pip install pyeebls
If this is not the case, you'll need to have numpy installed, along with a Fortran compiler:
(venv)$ pip install numpy # in a virtualenv
# or use dnf/yum/apt install numpy to install systemwide
## you'll need a Fortran compiler to install pyeebls! ##
## on Linux: dnf/yum/apt install gcc gcc-gfortran ##
## on OSX (using homebrew): brew install gcc && brew link gcc ##
Then, install pyeebls using pip (preferably in a virtualenv or use the --user flag):
(venv)$ pip install pyeebls
Or download the tarball from PyPI, extract the files, and run setup.py:
(venv)$ python setup.py install
Documentation
There's only one function to use in this module.
def pyeebls.eebls(times, mags, workarr_u, workarr_v,
nfreq, freqmin, stepsize,
nbins, minduration, maxduration):
Calculates the BLS spectrum for the input times and mags arrays.
Parameters
times : ndarray :
A numpy array containing the times of the measurements.
mags : ndarray :
A numpy array containing the mags or fluxes to use as measurements.
workarr_u, workarr_v : ndarray :
Numpy arrays that must be the same size as times, used as temp
workspaces by the Fortran function.
nfreq : int :
The number of frequencies to search for the best period.
freqmin : float :
The minimum frequency to use.
stepsize : float :
The stepsize in frequency units to use while searching.
nbins : int :
The number of bins to use when phasing up the light curve at a
single test period.
minduration : float :
The minimum transit duration in phase units to consider when testing for
a transit.
maxduration : float :
The minimum transit duration in phase units to consider when testing for
a transit.
Returns
A sequence of results:
(power, bestperiod, bestpower, transdepth,
transduration, transingressbin, transegressbin)
power : ndarray :
A numpy array containing the values of the BLS spectrum at each tested
frequency.
bestperiod : float :
The period at the highest peak in the frequency spectrum.
bestpower : float :
The power at the highest peak in the frequency spectrum.
transdepth : float :
The depth of the transit at the best period.
transduration : float :
The length of the transit as a fraction of the phase. This is the
so-called 'q' parameter.
transingressbin : int :
The phase bin index for the start of the transit.
transegressbin : int :
The phase bin index for the end of the transit.
See Also
- the comments at the top of eebls.f in this package
- the astrobase.periodbase.kbls module for a high-level interface to this module
License
The license for the Python files is the MIT License. eebls.f is provided by G. Kovacs; it appears to be re-distributable, but please make sure to cite Kovacs, et al. 2002 if you use this implementation.
Metadata
Release files for pyeebls 0.2.0
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 | |
|---|---|---|---|---|
| pyeebls-0.2.0.tar.gz | 7.7 kB | Without provenance | Details |
Built distributions (wheels)
Total release size: 24.4 MB
Release files / pyeebls-0.2.0.tar.gz
| Download URL | pyeebls-0.2.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0ecc3d1e3961f40cbc5746e0bfbbbe1b30e9a8f26bcb16ce6aa8e6e3cc7ee66
|
|
BLAKE2b-256 checksum How to use checksums |
86e774792e608fc891ce8a682370cea8712524443efedee28a96972d2d939c6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | pyeebls-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
dd32eec83db7f41ffffb911b7aeec94c5b6e5db21467077a057ce68dbc5c31ea
|
|
BLAKE2b-256 checksum How to use checksums |
00bb12b02a85c57c30474b806b2a710ecc9dbd84120e17d448761370458be7da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyeebls-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ceb6d6e205cf81cc69ea5fa8a71bcd03e4958b841525ae6757c4d1734199f06b
|
|
BLAKE2b-256 checksum How to use checksums |
a04071ed838e0b45b978c138616457ed4911d3168354c933858e4022a2b9cbb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp313-cp313-macosx_14_0_arm64.whl
| Download URL | pyeebls-0.2.0-cp313-cp313-macosx_14_0_arm64.whl |
|---|---|
| Size | 737.0 kB |
| Tags | CPython 3.13 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2df848d8b8da617309547b2f57a3357df7aa054d115d8da1fb7d42288369cb2c
|
|
BLAKE2b-256 checksum How to use checksums |
aea5c88ce18a5c6a60794ec0332a0c851b47cc7a52ce4b4f8556ff09cb2907e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp313-cp313-macosx_13_0_x86_64.whl
| Download URL | pyeebls-0.2.0-cp313-cp313-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.13 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
24bfd19db7104872840f12d87b290b95cd2802412a420b2b42b95527bcdda037
|
|
BLAKE2b-256 checksum How to use checksums |
2add5e4f7fe9fcb2d952fa6970e8390bc30cd4213c317865b9673ee7479f85fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | pyeebls-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
6ea2a850656c4275d6b0570f94f03cd4419c941c49227acb1349c8ad86a11537
|
|
BLAKE2b-256 checksum How to use checksums |
2c2680ba2d68ff598a090b5b1ef760c125536f034f163bea669ddc10fd72ff26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyeebls-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a17a0230228ea85d70f575e9d65daea879484d4e252dee294bacdf2323e5d256
|
|
BLAKE2b-256 checksum How to use checksums |
7688a904a240b1153e6cc7a54ab4995633562191a72e3f425ed1ac2907d937db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp312-cp312-macosx_14_0_arm64.whl
| Download URL | pyeebls-0.2.0-cp312-cp312-macosx_14_0_arm64.whl |
|---|---|
| Size | 737.0 kB |
| Tags | CPython 3.12 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
431688bf76f29e6b7237a52109bc78270f88e7ffb4de676033d36ba3b321a541
|
|
BLAKE2b-256 checksum How to use checksums |
ad7f0d0fd0b7a54a6bc924d149b16d2f2942bf9285b10298e97c97ab90a87881
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp312-cp312-macosx_13_0_x86_64.whl
| Download URL | pyeebls-0.2.0-cp312-cp312-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ae9d3c3ae99146e3482c1240e4acd1fd0f071f7f1a6d2f03cca0563489a9f1f
|
|
BLAKE2b-256 checksum How to use checksums |
d74082772770abf1d4fd82628969209251c539448e0e5941624fe13dd270d92f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | pyeebls-0.2.0-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
9b2ffbf2ee7be21b9e2cf961dc32f4a009f0c5c8bdee72c11edb1b856c2f6df8
|
|
BLAKE2b-256 checksum How to use checksums |
d2d77c0df99d7b1e49c4de35dac281f69cc90193e0e0b2685e43c7bfda2ac870
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyeebls-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8eedf8cf00ecab8249b0cd0b0cadfcdd349fb8ee2a6065ea8cee66e5d6cde676
|
|
BLAKE2b-256 checksum How to use checksums |
5a0a5687fe93b476b597c2751c44f0754634d39143596424a2cadf34ce6a70f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp311-cp311-macosx_14_0_arm64.whl
| Download URL | pyeebls-0.2.0-cp311-cp311-macosx_14_0_arm64.whl |
|---|---|
| Size | 736.8 kB |
| Tags | CPython 3.11 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e800bd1957a6d4b43628ebaa094eefe2c0bcdbfa6ca8d63911e261afeedde916
|
|
BLAKE2b-256 checksum How to use checksums |
7a9df187d4d25f53dd0d419ab389def012859409e8da02f0bf22586e4eb1dc75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp311-cp311-macosx_13_0_x86_64.whl
| Download URL | pyeebls-0.2.0-cp311-cp311-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
f49f56ae329466a5301b7b59702bd31fd3c2466c2ee538c04c0003cf6d2c5184
|
|
BLAKE2b-256 checksum How to use checksums |
70b6703cefde80e186af3cb9178a0869ae24b143409e1c99379b0135322d765a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | pyeebls-0.2.0-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
072c549994d5a5cd78bdc911cc7c8425ed2dbc8387846238db6e57b9a4889a7c
|
|
BLAKE2b-256 checksum How to use checksums |
06e5dd93af8cbf41cfdcbde1db1d8836297e1286ec311f30ab6ccb1b58c3281e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyeebls-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
66481e8dae432397708d8d83161f82325f9e897398fc5630718c08146d061de1
|
|
BLAKE2b-256 checksum How to use checksums |
d5b22c90fae229ae9616d944f10f20b2b82f9c22430236c69083c28745fe5852
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp310-cp310-macosx_14_0_arm64.whl
| Download URL | pyeebls-0.2.0-cp310-cp310-macosx_14_0_arm64.whl |
|---|---|
| Size | 736.8 kB |
| Tags | CPython 3.10 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4bfeb5b2494a64cb8155a6027e5abf552b5ed7f8b1b82284c6619dbc43dc0d0b
|
|
BLAKE2b-256 checksum How to use checksums |
cbe2e2c6653d84929bb3c4c39465aacaf69bc469f48d5ab2d119a56cb8848c3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp310-cp310-macosx_13_0_x86_64.whl
| Download URL | pyeebls-0.2.0-cp310-cp310-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
a3f7fed74864945bb595666e03cf909e645f3c827f956f94b9a93496f9962cf7
|
|
BLAKE2b-256 checksum How to use checksums |
d5a2060b4dfbe0ade2434d9bab4440cf015bfbcb671db0aa97e997851690f72b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyeebls-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3e32fdabbbabba8ebe19726cb720d7ffaa852a23b2e95d6ecff1ebb7f29d99ca
|
|
BLAKE2b-256 checksum How to use checksums |
f0b34492ef37a0a6f665168bf98027b6002682a0a01b8367787364e5bbc93100
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp39-cp39-macosx_14_0_arm64.whl
| Download URL | pyeebls-0.2.0-cp39-cp39-macosx_14_0_arm64.whl |
|---|---|
| Size | 736.8 kB |
| Tags | CPython 3.9 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a6c76cdc2af09c62d25d979136c5608640722553732ca110cd540e34ac12c467
|
|
BLAKE2b-256 checksum How to use checksums |
ee779fb27c72ee5f37df7b4219d8e0ef9713626f89a22b7f4c52598d89c15f3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp39-cp39-macosx_13_0_x86_64.whl
| Download URL | pyeebls-0.2.0-cp39-cp39-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.9 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
740ddd2515560fd1e1b5e98ad46d798ccea7c88680a6d5ce6e6cc8f61f71859b
|
|
BLAKE2b-256 checksum How to use checksums |
fd7f8eb12baaa71e76748f4957d66c19948d73430c8bf7513139c7921134395d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyeebls-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
76c20f0f1f5e71b7ce584a739eee2d13dbd95cae49699120d357ea076ae41812
|
|
BLAKE2b-256 checksum How to use checksums |
d447b0bb3edbe59072e6e782b364aaddd7b7986c518599a7db7763dc9cb24c51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp38-cp38-macosx_14_0_arm64.whl
| Download URL | pyeebls-0.2.0-cp38-cp38-macosx_14_0_arm64.whl |
|---|---|
| Size | 736.4 kB |
| Tags | CPython 3.8 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5985d61b75b980d5e42a50b5ec67ca4746d472a311a6a810d4ac3cbabc99a1e7
|
|
BLAKE2b-256 checksum How to use checksums |
e7f71472c11fb048327d9c3ea77c8b0df7450c983d0ea7bc60e199cc4d943ace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyeebls-0.2.0-cp38-cp38-macosx_13_0_x86_64.whl
| Download URL | pyeebls-0.2.0-cp38-cp38-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.8 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
7ed42bede5a62f05a1b4f310ab7a5e0aaf6d305b97cb49cef390c2b4b013c2a4
|
|
BLAKE2b-256 checksum How to use checksums |
340b682fb921ad1a725de956c67e2d8476536313a5c511ef06eebf23c205f60c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for pyeebls 0.2.0
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.