pywavelet 0.0.1b0__tar.gz → 0.0.5__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/.github/workflows/ci.yml +9 -4
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/.github/workflows/docs.yml +9 -13
- pywavelet-0.0.5/.github/workflows/pypi.yml +52 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/.gitignore +7 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/.pre-commit-config.yaml +6 -8
- pywavelet-0.0.5/CHANGELOG.rst +844 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/PKG-INFO +12 -12
- pywavelet-0.0.5/README.rst +46 -0
- pywavelet-0.0.5/docs/_config.yml +28 -0
- pywavelet-0.0.5/docs/_static/demo.gif +0 -0
- pywavelet-0.0.5/docs/_toc.yml +18 -0
- pywavelet-0.0.5/docs/api.rst +35 -0
- pywavelet-0.0.5/docs/example.ipynb +254 -0
- pywavelet-0.0.5/docs/index.rst +57 -0
- pywavelet-0.0.5/docs/logo.png +0 -0
- pywavelet-0.0.5/docs/roundtrip_freq.png +0 -0
- pywavelet-0.0.5/docs/roundtrip_time.png +0 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/pyproject.toml +28 -11
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/src/pywavelet/__init__.py +1 -1
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/src/pywavelet/_version.py +2 -2
- pywavelet-0.0.5/src/pywavelet/logger.py +14 -0
- pywavelet-0.0.5/src/pywavelet/transforms/__init__.py +10 -0
- pywavelet-0.0.5/src/pywavelet/transforms/forward/__init__.py +4 -0
- pywavelet-0.0.5/src/pywavelet/transforms/forward/from_freq.py +80 -0
- pywavelet-0.0.5/src/pywavelet/transforms/forward/from_time.py +66 -0
- pywavelet-0.0.5/src/pywavelet/transforms/forward/main.py +128 -0
- pywavelet-0.0.5/src/pywavelet/transforms/forward/wavelet_bins.py +58 -0
- pywavelet-0.0.5/src/pywavelet/transforms/inverse/__init__.py +3 -0
- pywavelet-0.0.5/src/pywavelet/transforms/inverse/main.py +96 -0
- pywavelet-0.0.1b0/src/pywavelet/transforms/from_wavelets/inverse_wavelet_freq_funcs.py → pywavelet-0.0.5/src/pywavelet/transforms/inverse/to_freq.py +43 -32
- pywavelet-0.0.1b0/src/pywavelet/transforms/from_wavelets/inverse_wavelet_time_funcs.py → pywavelet-0.0.5/src/pywavelet/transforms/inverse/to_time.py +49 -21
- pywavelet-0.0.5/src/pywavelet/transforms/phi_computer.py +152 -0
- pywavelet-0.0.5/src/pywavelet/transforms/types/__init__.py +3 -0
- pywavelet-0.0.5/src/pywavelet/transforms/types/common.py +53 -0
- pywavelet-0.0.5/src/pywavelet/transforms/types/frequencyseries.py +237 -0
- pywavelet-0.0.5/src/pywavelet/transforms/types/plotting.py +341 -0
- pywavelet-0.0.5/src/pywavelet/transforms/types/timeseries.py +280 -0
- pywavelet-0.0.5/src/pywavelet/transforms/types/wavelet.py +374 -0
- pywavelet-0.0.5/src/pywavelet/utils.py +64 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/src/pywavelet.egg-info/PKG-INFO +12 -12
- pywavelet-0.0.5/src/pywavelet.egg-info/SOURCES.txt +60 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/src/pywavelet.egg-info/requires.txt +6 -4
- pywavelet-0.0.5/tests/conftest.py +52 -0
- pywavelet-0.0.5/tests/test_data/roundtrip_chirp_freq.npz +0 -0
- pywavelet-0.0.5/tests/test_data/roundtrip_chirp_time.npz +0 -0
- pywavelet-0.0.5/tests/test_data/roundtrip_pure_f0_freq.npz +0 -0
- pywavelet-0.0.5/tests/test_data/roundtrip_sine_freq.npz +0 -0
- pywavelet-0.0.5/tests/test_data/roundtrip_sine_time.npz +0 -0
- pywavelet-0.0.5/tests/test_phi.py +37 -0
- pywavelet-0.0.5/tests/test_psd.py +23 -0
- pywavelet-0.0.5/tests/test_roundtrip_conversion.py +99 -0
- pywavelet-0.0.5/tests/test_snr.py +128 -0
- pywavelet-0.0.5/tests/test_timefreq_type.py +58 -0
- pywavelet-0.0.5/tests/test_version.py +11 -0
- pywavelet-0.0.5/tests/test_wavelet_plot.py +16 -0
- pywavelet-0.0.5/tests/utils/__init__.py +2 -0
- pywavelet-0.0.5/tests/utils/generate_data.py +62 -0
- pywavelet-0.0.5/tests/utils/plotting.py +129 -0
- pywavelet-0.0.1b0/.github/workflows/pypi.yml +0 -44
- pywavelet-0.0.1b0/CHANGELOG.rst +0 -10
- pywavelet-0.0.1b0/README.rst +0 -29
- pywavelet-0.0.1b0/docs/_config.yml +0 -32
- pywavelet-0.0.1b0/docs/_toc.yml +0 -8
- pywavelet-0.0.1b0/docs/demos/cbc_demo.ipynb +0 -349
- pywavelet-0.0.1b0/docs/demos/lisa_mcmc_demo.ipynb +0 -644
- pywavelet-0.0.1b0/docs/demos/roundtrip_demo.ipynb +0 -347
- pywavelet-0.0.1b0/docs/intro.md +0 -27
- pywavelet-0.0.1b0/docs/references.bib +0 -38
- pywavelet-0.0.1b0/docs/requirements.txt +0 -3
- pywavelet-0.0.1b0/src/pywavelet/fft_funcs.py +0 -16
- pywavelet-0.0.1b0/src/pywavelet/likelihood/__init__.py +0 -0
- pywavelet-0.0.1b0/src/pywavelet/likelihood/likelihood_base.py +0 -9
- pywavelet-0.0.1b0/src/pywavelet/likelihood/whittle.py +0 -24
- pywavelet-0.0.1b0/src/pywavelet/logger.py +0 -15
- pywavelet-0.0.1b0/src/pywavelet/transforms/__init__.py +0 -10
- pywavelet-0.0.1b0/src/pywavelet/transforms/common.py +0 -77
- pywavelet-0.0.1b0/src/pywavelet/transforms/from_wavelets/__init__.py +0 -25
- pywavelet-0.0.1b0/src/pywavelet/transforms/to_wavelets/__init__.py +0 -52
- pywavelet-0.0.1b0/src/pywavelet/transforms/to_wavelets/transform_freq_funcs.py +0 -84
- pywavelet-0.0.1b0/src/pywavelet/transforms/to_wavelets/transform_time_funcs.py +0 -63
- pywavelet-0.0.1b0/src/pywavelet/utils/__init__.py +0 -0
- pywavelet-0.0.1b0/src/pywavelet/utils/fisher_matrix.py +0 -6
- pywavelet-0.0.1b0/src/pywavelet/utils/snr.py +0 -37
- pywavelet-0.0.1b0/src/pywavelet/waveform_generator/__init__.py +0 -0
- pywavelet-0.0.1b0/src/pywavelet/waveform_generator/build_lookup_table.py +0 -0
- pywavelet-0.0.1b0/src/pywavelet/waveform_generator/generators/__init__.py +0 -2
- pywavelet-0.0.1b0/src/pywavelet/waveform_generator/generators/functional_waveform_generator.py +0 -33
- pywavelet-0.0.1b0/src/pywavelet/waveform_generator/generators/lookuptable_waveform_generator.py +0 -15
- pywavelet-0.0.1b0/src/pywavelet/waveform_generator/generators/rom_waveform_generator.py +0 -0
- pywavelet-0.0.1b0/src/pywavelet/waveform_generator/waveform_generator.py +0 -14
- pywavelet-0.0.1b0/src/pywavelet.egg-info/SOURCES.txt +0 -54
- pywavelet-0.0.1b0/tests/conftest.py +0 -15
- pywavelet-0.0.1b0/tests/test_examples.py +0 -1
- pywavelet-0.0.1b0/tests/test_roundtrip_conversion.py +0 -46
- pywavelet-0.0.1b0/tests/test_snr.py +0 -104
- pywavelet-0.0.1b0/tests/test_version.py +0 -6
- pywavelet-0.0.1b0/tests/test_waveform_lookup_table.py +0 -51
- pywavelet-0.0.1b0/tests/utils.py +0 -97
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/CITATION.cff +0 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/setup.cfg +0 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/src/pywavelet.egg-info/dependency_links.txt +0 -0
- {pywavelet-0.0.1b0 → pywavelet-0.0.5}/src/pywavelet.egg-info/top_level.txt +0 -0
@@ -13,12 +13,16 @@ jobs:
|
|
13
13
|
runs-on: ubuntu-latest
|
14
14
|
|
15
15
|
steps:
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
- uses: actions/checkout@v4.2.2
|
17
|
+
with:
|
18
|
+
fetch-depth: 0
|
19
|
+
ref: main # Replace with your branch
|
20
|
+
|
21
|
+
- uses: actions/setup-python@v5
|
19
22
|
with:
|
20
23
|
python-version: '3.8'
|
21
|
-
cache: 'pip'
|
24
|
+
cache: 'pip' # Enable caching for pip dependencies
|
25
|
+
|
22
26
|
|
23
27
|
- name: Install dependencies
|
24
28
|
run: |
|
@@ -28,6 +32,7 @@ jobs:
|
|
28
32
|
|
29
33
|
- name: pre-commit
|
30
34
|
run: pre-commit run --all-files --verbose --show-diff-on-failure
|
35
|
+
continue-on-error: true # Allow failure for this step
|
31
36
|
|
32
37
|
- name: pytest
|
33
38
|
run: pytest --cov='pywavelet' --cov-report term-missing
|
@@ -14,22 +14,18 @@ jobs:
|
|
14
14
|
permissions:
|
15
15
|
contents: write
|
16
16
|
steps:
|
17
|
-
- uses: actions/checkout@
|
18
|
-
|
19
|
-
# Install dependencies
|
20
|
-
- name: Set up Python 3.8
|
21
|
-
uses: actions/setup-python@v2
|
17
|
+
- uses: actions/checkout@v4.2.2
|
22
18
|
with:
|
23
|
-
|
19
|
+
fetch-depth: 0
|
20
|
+
ref: main # Replace with your branch
|
24
21
|
|
25
|
-
-
|
26
|
-
|
27
|
-
|
22
|
+
- uses: actions/setup-python@v5
|
23
|
+
with:
|
24
|
+
python-version: '3.8'
|
25
|
+
cache: 'pip' # Enable caching for pip dependencies
|
28
26
|
|
29
|
-
|
30
|
-
-
|
31
|
-
run: |
|
32
|
-
jupyter-book build docs/
|
27
|
+
- run: python -m pip install -e .[dev]
|
28
|
+
- run: jupyter-book build docs/
|
33
29
|
|
34
30
|
# Push the book's HTML to github-pages
|
35
31
|
- name: GitHub Pages action
|
@@ -0,0 +1,52 @@
|
|
1
|
+
name: Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
# workflow_run:
|
8
|
+
# workflows: ['Tests and Coverage']
|
9
|
+
# types:
|
10
|
+
# - completed
|
11
|
+
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
|
15
|
+
release:
|
16
|
+
runs-on: ubuntu-latest
|
17
|
+
concurrency: release
|
18
|
+
permissions:
|
19
|
+
id-token: write
|
20
|
+
contents: write
|
21
|
+
|
22
|
+
steps:
|
23
|
+
- uses: actions/checkout@v4.2.2
|
24
|
+
with:
|
25
|
+
fetch-depth: 0
|
26
|
+
ref: main # Replace with your branch
|
27
|
+
|
28
|
+
- uses: actions/setup-python@v5
|
29
|
+
with:
|
30
|
+
python-version: '3.8'
|
31
|
+
cache: 'pip' # Enable caching for pip dependencies
|
32
|
+
|
33
|
+
|
34
|
+
- name: Semantic Version Release
|
35
|
+
id: release
|
36
|
+
# Adjust tag with desired version if applicable.
|
37
|
+
uses: python-semantic-release/python-semantic-release@v9.12.0
|
38
|
+
with:
|
39
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
40
|
+
git_committer_name: "github-actions"
|
41
|
+
git_committer_email: "actions@users.noreply.github.com"
|
42
|
+
|
43
|
+
|
44
|
+
- name: build dist for pypi
|
45
|
+
if: steps.release.outputs.released == 'true'
|
46
|
+
run: |
|
47
|
+
python -m pip install --upgrade build
|
48
|
+
python -m build --sdist --wheel --outdir dist/
|
49
|
+
|
50
|
+
- name: pypi-publish
|
51
|
+
if: steps.release.outputs.released == 'true'
|
52
|
+
uses: pypa/gh-action-pypi-publish@v1.12.3
|
@@ -1,3 +1,7 @@
|
|
1
|
+
|
2
|
+
case_studies
|
3
|
+
venv
|
4
|
+
|
1
5
|
# Byte-compiled / optimized / DLL files
|
2
6
|
__pycache__/
|
3
7
|
*.py[cod]
|
@@ -6,11 +10,14 @@ __pycache__/
|
|
6
10
|
*.dat
|
7
11
|
*.idea
|
8
12
|
*.DS_Store
|
13
|
+
#python stuff
|
14
|
+
*.npy
|
9
15
|
# C extensions
|
10
16
|
*.so
|
11
17
|
out_*
|
12
18
|
*_version.py
|
13
19
|
|
20
|
+
*.pdf
|
14
21
|
# Distribution / packaging
|
15
22
|
.Python
|
16
23
|
build/
|
@@ -1,11 +1,6 @@
|
|
1
1
|
repos:
|
2
|
-
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
3
|
-
rev: v1.3.1
|
4
|
-
hooks:
|
5
|
-
- id: forbid-crlf
|
6
|
-
- id: remove-crlf
|
7
2
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
8
|
-
rev: v4.
|
3
|
+
rev: v4.5.0
|
9
4
|
hooks:
|
10
5
|
- id: trailing-whitespace
|
11
6
|
- id: end-of-file-fixer
|
@@ -18,7 +13,10 @@ repos:
|
|
18
13
|
- id: isort
|
19
14
|
args: ["--profile", "black"]
|
20
15
|
- repo: https://github.com/ambv/black
|
21
|
-
rev:
|
16
|
+
rev: 23.10.0
|
22
17
|
hooks:
|
23
18
|
- id: black
|
24
|
-
|
19
|
+
- repo: https://github.com/psf/black
|
20
|
+
rev: "23.10.0"
|
21
|
+
hooks:
|
22
|
+
- id: black-jupyter
|