LogPSplinePSD 0.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- logpsplinepsd-0.0.3/.github/workflows/ci.yml +39 -0
- logpsplinepsd-0.0.3/.github/workflows/docs.yml +38 -0
- logpsplinepsd-0.0.3/.github/workflows/pypi.yml +48 -0
- logpsplinepsd-0.0.3/.gitignore +288 -0
- logpsplinepsd-0.0.3/.pre-commit-config.yaml +22 -0
- logpsplinepsd-0.0.3/CHANGELOG.rst +217 -0
- logpsplinepsd-0.0.3/LICENSE +28 -0
- logpsplinepsd-0.0.3/PKG-INFO +148 -0
- logpsplinepsd-0.0.3/README.rst +111 -0
- logpsplinepsd-0.0.3/docs/_config.yml +39 -0
- logpsplinepsd-0.0.3/docs/_static/logo.png +0 -0
- logpsplinepsd-0.0.3/docs/_toc.yml +6 -0
- logpsplinepsd-0.0.3/docs/demo.png +0 -0
- logpsplinepsd-0.0.3/docs/demo.py +19 -0
- logpsplinepsd-0.0.3/docs/studies/cholesky_decomposition/alternative_model.py +59 -0
- logpsplinepsd-0.0.3/docs/studies/lisa/just_splines.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/lisa/lisa.rst +38 -0
- logpsplinepsd-0.0.3/docs/studies/lisa/lisa_demo.py +128 -0
- logpsplinepsd-0.0.3/docs/studies/lisa/lisa_fitted_model.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/lisa/lisa_pdgrm.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/lisa/traceplot.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/lvk/data.py +56 -0
- logpsplinepsd-0.0.3/docs/studies/lvk/lvk.rst +50 -0
- logpsplinepsd-0.0.3/docs/studies/lvk/lvk_noise.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/lvk/lvk_noise_and_splines.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/lvk/lvk_psd.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/lvk/run_estimator.py +67 -0
- logpsplinepsd-0.0.3/docs/studies/lvk/traceplot.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/runtime/plots/mcmc_runtimes.png +0 -0
- logpsplinepsd-0.0.3/docs/studies/runtime/record_runtime.py +75 -0
- logpsplinepsd-0.0.3/docs/studies/runtime/runtime.rst +19 -0
- logpsplinepsd-0.0.3/pyproject.toml +136 -0
- logpsplinepsd-0.0.3/setup.cfg +4 -0
- logpsplinepsd-0.0.3/src/LogPSplinePSD.egg-info/PKG-INFO +148 -0
- logpsplinepsd-0.0.3/src/LogPSplinePSD.egg-info/SOURCES.txt +63 -0
- logpsplinepsd-0.0.3/src/LogPSplinePSD.egg-info/dependency_links.txt +1 -0
- logpsplinepsd-0.0.3/src/LogPSplinePSD.egg-info/requires.txt +20 -0
- logpsplinepsd-0.0.3/src/LogPSplinePSD.egg-info/top_level.txt +1 -0
- logpsplinepsd-0.0.3/src/log_psplines/__init__.py +0 -0
- logpsplinepsd-0.0.3/src/log_psplines/_version.py +21 -0
- logpsplinepsd-0.0.3/src/log_psplines/arviz_utils.py +142 -0
- logpsplinepsd-0.0.3/src/log_psplines/datatypes.py +83 -0
- logpsplinepsd-0.0.3/src/log_psplines/example_datasets/__init__.py +1 -0
- logpsplinepsd-0.0.3/src/log_psplines/example_datasets/ar_data.py +270 -0
- logpsplinepsd-0.0.3/src/log_psplines/example_datasets/lvk_data.py +177 -0
- logpsplinepsd-0.0.3/src/log_psplines/initialisation.py +212 -0
- logpsplinepsd-0.0.3/src/log_psplines/line_locator.py +123 -0
- logpsplinepsd-0.0.3/src/log_psplines/mcmc.py +143 -0
- logpsplinepsd-0.0.3/src/log_psplines/parameteric_approximation.py +120 -0
- logpsplinepsd-0.0.3/src/log_psplines/plotting/__init__.py +5 -0
- logpsplinepsd-0.0.3/src/log_psplines/plotting/diagnostics.py +73 -0
- logpsplinepsd-0.0.3/src/log_psplines/plotting/pdgrm.py +81 -0
- logpsplinepsd-0.0.3/src/log_psplines/plotting/plot_basis.py +50 -0
- logpsplinepsd-0.0.3/src/log_psplines/plotting/utils.py +118 -0
- logpsplinepsd-0.0.3/src/log_psplines/psd_diagnostics.py +382 -0
- logpsplinepsd-0.0.3/src/log_psplines/psplines.py +113 -0
- logpsplinepsd-0.0.3/src/log_psplines/samplers/__init__.py +5 -0
- logpsplinepsd-0.0.3/src/log_psplines/samplers/base_sampler.py +165 -0
- logpsplinepsd-0.0.3/src/log_psplines/samplers/metropolis_hastings.py +602 -0
- logpsplinepsd-0.0.3/src/log_psplines/samplers/nuts.py +123 -0
- logpsplinepsd-0.0.3/tests/conftest.py +29 -0
- logpsplinepsd-0.0.3/tests/test_diagnostics.py +18 -0
- logpsplinepsd-0.0.3/tests/test_example_datasets.py +39 -0
- logpsplinepsd-0.0.3/tests/test_mcmc.py +51 -0
- logpsplinepsd-0.0.3/tests/test_pspline.py +49 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: Tests and Coverage
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
steps:
|
|
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
|
|
22
|
+
with:
|
|
23
|
+
python-version: '3.11'
|
|
24
|
+
|
|
25
|
+
- name: Install dependencies
|
|
26
|
+
run: |
|
|
27
|
+
python -m pip install --upgrade pip
|
|
28
|
+
python -m pip install -e .[dev]
|
|
29
|
+
pre-commit install
|
|
30
|
+
|
|
31
|
+
- name: pre-commit
|
|
32
|
+
run: pre-commit run --all-files --verbose --show-diff-on-failure
|
|
33
|
+
continue-on-error: true # Allow failure for this step
|
|
34
|
+
|
|
35
|
+
- name: pytest
|
|
36
|
+
run: pytest --cov='log_psplines' --cov-report term-missing --cov-report=xml
|
|
37
|
+
|
|
38
|
+
- name: Coveralls
|
|
39
|
+
uses: coverallsapp/github-action@v2
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: build-docs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
paths:
|
|
8
|
+
- 'docs/**'
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
# This job installs dependencies, builds the book, and pushes it to `gh-pages`
|
|
12
|
+
jobs:
|
|
13
|
+
deploy-book:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4.2.2
|
|
19
|
+
with:
|
|
20
|
+
fetch-depth: 0
|
|
21
|
+
ref: main # Replace with your branch
|
|
22
|
+
|
|
23
|
+
- uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version: '3.11'
|
|
26
|
+
cache: 'pip' # Enable caching for pip dependencies
|
|
27
|
+
|
|
28
|
+
- run: python -m pip install -e .[dev]
|
|
29
|
+
- run: |
|
|
30
|
+
cp *.rst docs/
|
|
31
|
+
jupyter-book build docs/
|
|
32
|
+
|
|
33
|
+
# Push the book's HTML to github-pages
|
|
34
|
+
- name: GitHub Pages action
|
|
35
|
+
uses: peaceiris/actions-gh-pages@v3.9.3
|
|
36
|
+
with:
|
|
37
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
38
|
+
publish_dir: ./docs/_build/html
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
|
|
11
|
+
release:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
concurrency: release
|
|
14
|
+
permissions:
|
|
15
|
+
id-token: write
|
|
16
|
+
contents: write
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4.2.2
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0
|
|
22
|
+
ref: main # Replace with your branch
|
|
23
|
+
|
|
24
|
+
- uses: actions/setup-python@v5
|
|
25
|
+
with:
|
|
26
|
+
python-version: '3.11'
|
|
27
|
+
cache: 'pip' # Enable caching for pip dependencies
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
- name: Semantic Version Release
|
|
31
|
+
id: release
|
|
32
|
+
# Adjust tag with desired version if applicable.
|
|
33
|
+
uses: python-semantic-release/python-semantic-release@v9.12.0
|
|
34
|
+
with:
|
|
35
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
36
|
+
git_committer_name: "github-actions"
|
|
37
|
+
git_committer_email: "actions@users.noreply.github.com"
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
- name: build dist for pypi
|
|
41
|
+
if: steps.release.outputs.released == 'true'
|
|
42
|
+
run: |
|
|
43
|
+
python -m pip install --upgrade build
|
|
44
|
+
python -m build --sdist --wheel --outdir dist/
|
|
45
|
+
|
|
46
|
+
- name: pypi-publish
|
|
47
|
+
if: steps.release.outputs.released == 'true'
|
|
48
|
+
uses: pypa/gh-action-pypi-publish@v1.12.3
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
### venv template
|
|
2
|
+
# Virtualenv
|
|
3
|
+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
|
4
|
+
.Python
|
|
5
|
+
[Bb]in
|
|
6
|
+
[Ii]nclude
|
|
7
|
+
[Ll]ib
|
|
8
|
+
[Ll]ib64
|
|
9
|
+
[Ll]ocal
|
|
10
|
+
[Ss]cripts
|
|
11
|
+
pyvenv.cfg
|
|
12
|
+
*.hdf5
|
|
13
|
+
*.pdf
|
|
14
|
+
*.png
|
|
15
|
+
*.DS_Store
|
|
16
|
+
plots/
|
|
17
|
+
*.npy
|
|
18
|
+
*output/
|
|
19
|
+
*.txt
|
|
20
|
+
.venv
|
|
21
|
+
pip-selfcheck.json
|
|
22
|
+
*.idea
|
|
23
|
+
### PythonVanilla template
|
|
24
|
+
# Byte-compiled / optimized / DLL files
|
|
25
|
+
__pycache__/
|
|
26
|
+
*.py[cod]
|
|
27
|
+
*$py.class
|
|
28
|
+
|
|
29
|
+
# C extensions
|
|
30
|
+
*.so
|
|
31
|
+
|
|
32
|
+
# Distribution / packaging
|
|
33
|
+
.Python
|
|
34
|
+
build/
|
|
35
|
+
develop-eggs/
|
|
36
|
+
dist/
|
|
37
|
+
downloads/
|
|
38
|
+
eggs/
|
|
39
|
+
.eggs/
|
|
40
|
+
lib/
|
|
41
|
+
lib64/
|
|
42
|
+
parts/
|
|
43
|
+
sdist/
|
|
44
|
+
var/
|
|
45
|
+
wheels/
|
|
46
|
+
share/python-wheels/
|
|
47
|
+
*.egg-info/
|
|
48
|
+
.installed.cfg
|
|
49
|
+
*.egg
|
|
50
|
+
MANIFEST
|
|
51
|
+
|
|
52
|
+
# Installer logs
|
|
53
|
+
pip-log.txt
|
|
54
|
+
pip-delete-this-directory.txt
|
|
55
|
+
|
|
56
|
+
# Unit test / coverage reports
|
|
57
|
+
htmlcov/
|
|
58
|
+
.tox/
|
|
59
|
+
.nox/
|
|
60
|
+
.coverage
|
|
61
|
+
.coverage.*
|
|
62
|
+
.cache
|
|
63
|
+
nosetests.xml
|
|
64
|
+
coverage.xml
|
|
65
|
+
*.cover
|
|
66
|
+
*.py,cover
|
|
67
|
+
.hypothesis/
|
|
68
|
+
.pytest_cache/
|
|
69
|
+
cover/
|
|
70
|
+
|
|
71
|
+
# Translations
|
|
72
|
+
*.mo
|
|
73
|
+
*.pot
|
|
74
|
+
|
|
75
|
+
# pyenv
|
|
76
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
77
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
78
|
+
# .python-version
|
|
79
|
+
|
|
80
|
+
# pipenv
|
|
81
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
82
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
83
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
84
|
+
# install all needed dependencies.
|
|
85
|
+
#Pipfile.lock
|
|
86
|
+
|
|
87
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
88
|
+
__pypackages__/
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### VirtualEnv template
|
|
92
|
+
# Virtualenv
|
|
93
|
+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
|
94
|
+
.Python
|
|
95
|
+
[Bb]in
|
|
96
|
+
[Ii]nclude
|
|
97
|
+
[Ll]ib
|
|
98
|
+
[Ll]ib64
|
|
99
|
+
[Ll]ocal
|
|
100
|
+
[Ss]cripts
|
|
101
|
+
pyvenv.cfg
|
|
102
|
+
.venv
|
|
103
|
+
pip-selfcheck.json
|
|
104
|
+
|
|
105
|
+
### JupyterNotebooks template
|
|
106
|
+
# gitignore template for Jupyter Notebooks
|
|
107
|
+
# website: http://jupyter.org/
|
|
108
|
+
|
|
109
|
+
.ipynb_checkpoints
|
|
110
|
+
*/.ipynb_checkpoints/*
|
|
111
|
+
|
|
112
|
+
# IPython
|
|
113
|
+
profile_default/
|
|
114
|
+
ipython_config.py
|
|
115
|
+
|
|
116
|
+
# Remove previous ipynb_checkpoints
|
|
117
|
+
# git rm -r .ipynb_checkpoints/
|
|
118
|
+
|
|
119
|
+
### Python template
|
|
120
|
+
# Byte-compiled / optimized / DLL files
|
|
121
|
+
__pycache__/
|
|
122
|
+
*.py[cod]
|
|
123
|
+
*$py.class
|
|
124
|
+
|
|
125
|
+
# C extensions
|
|
126
|
+
*.so
|
|
127
|
+
|
|
128
|
+
# Distribution / packaging
|
|
129
|
+
.Python
|
|
130
|
+
build/
|
|
131
|
+
develop-eggs/
|
|
132
|
+
dist/
|
|
133
|
+
downloads/
|
|
134
|
+
eggs/
|
|
135
|
+
.eggs/
|
|
136
|
+
lib/
|
|
137
|
+
lib64/
|
|
138
|
+
parts/
|
|
139
|
+
sdist/
|
|
140
|
+
var/
|
|
141
|
+
wheels/
|
|
142
|
+
share/python-wheels/
|
|
143
|
+
*.egg-info/
|
|
144
|
+
.installed.cfg
|
|
145
|
+
*.egg
|
|
146
|
+
MANIFEST
|
|
147
|
+
|
|
148
|
+
# PyInstaller
|
|
149
|
+
# Usually these files are written by a python script from a template
|
|
150
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
151
|
+
*.manifest
|
|
152
|
+
*.spec
|
|
153
|
+
|
|
154
|
+
# Installer logs
|
|
155
|
+
pip-log.txt
|
|
156
|
+
pip-delete-this-directory.txt
|
|
157
|
+
|
|
158
|
+
# Unit test / coverage reports
|
|
159
|
+
htmlcov/
|
|
160
|
+
.tox/
|
|
161
|
+
.nox/
|
|
162
|
+
.coverage
|
|
163
|
+
.coverage.*
|
|
164
|
+
.cache
|
|
165
|
+
nosetests.xml
|
|
166
|
+
coverage.xml
|
|
167
|
+
*.cover
|
|
168
|
+
*.py,cover
|
|
169
|
+
.hypothesis/
|
|
170
|
+
.pytest_cache/
|
|
171
|
+
cover/
|
|
172
|
+
|
|
173
|
+
# Translations
|
|
174
|
+
*.mo
|
|
175
|
+
*.pot
|
|
176
|
+
|
|
177
|
+
# Django stuff:
|
|
178
|
+
*.log
|
|
179
|
+
local_settings.py
|
|
180
|
+
db.sqlite3
|
|
181
|
+
db.sqlite3-journal
|
|
182
|
+
|
|
183
|
+
# Flask stuff:
|
|
184
|
+
instance/
|
|
185
|
+
.webassets-cache
|
|
186
|
+
|
|
187
|
+
# Scrapy stuff:
|
|
188
|
+
.scrapy
|
|
189
|
+
|
|
190
|
+
# Sphinx documentation
|
|
191
|
+
docs/_build/
|
|
192
|
+
|
|
193
|
+
# PyBuilder
|
|
194
|
+
.pybuilder/
|
|
195
|
+
target/
|
|
196
|
+
|
|
197
|
+
# Jupyter Notebook
|
|
198
|
+
.ipynb_checkpoints
|
|
199
|
+
|
|
200
|
+
# IPython
|
|
201
|
+
profile_default/
|
|
202
|
+
ipython_config.py
|
|
203
|
+
|
|
204
|
+
# pyenv
|
|
205
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
206
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
207
|
+
# .python-version
|
|
208
|
+
|
|
209
|
+
# pipenv
|
|
210
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
211
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
212
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
213
|
+
# install all needed dependencies.
|
|
214
|
+
#Pipfile.lock
|
|
215
|
+
|
|
216
|
+
# poetry
|
|
217
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
218
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
219
|
+
# commonly ignored for libraries.
|
|
220
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
221
|
+
#poetry.lock
|
|
222
|
+
|
|
223
|
+
# pdm
|
|
224
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
225
|
+
#pdm.lock
|
|
226
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
227
|
+
# in version control.
|
|
228
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
229
|
+
.pdm.toml
|
|
230
|
+
|
|
231
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
232
|
+
__pypackages__/
|
|
233
|
+
|
|
234
|
+
# Celery stuff
|
|
235
|
+
celerybeat-schedule
|
|
236
|
+
celerybeat.pid
|
|
237
|
+
|
|
238
|
+
# SageMath parsed files
|
|
239
|
+
*.sage.py
|
|
240
|
+
|
|
241
|
+
# Environments
|
|
242
|
+
.env
|
|
243
|
+
.venv
|
|
244
|
+
env/
|
|
245
|
+
venv/
|
|
246
|
+
ENV/
|
|
247
|
+
env.bak/
|
|
248
|
+
venv.bak/
|
|
249
|
+
|
|
250
|
+
# Spyder project settings
|
|
251
|
+
.spyderproject
|
|
252
|
+
.spyproject
|
|
253
|
+
|
|
254
|
+
# Rope project settings
|
|
255
|
+
.ropeproject
|
|
256
|
+
|
|
257
|
+
# mkdocs documentation
|
|
258
|
+
/site
|
|
259
|
+
|
|
260
|
+
# mypy
|
|
261
|
+
.mypy_cache/
|
|
262
|
+
.dmypy.json
|
|
263
|
+
dmypy.json
|
|
264
|
+
|
|
265
|
+
# Pyre type checker
|
|
266
|
+
.pyre/
|
|
267
|
+
|
|
268
|
+
# pytype static type analyzer
|
|
269
|
+
.pytype/
|
|
270
|
+
|
|
271
|
+
# Cython debug symbols
|
|
272
|
+
cython_debug/
|
|
273
|
+
|
|
274
|
+
# PyCharm
|
|
275
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
276
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
277
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
278
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
279
|
+
#.idea/
|
|
280
|
+
|
|
281
|
+
/src/log_psplines/_version.py
|
|
282
|
+
/docs/studies/lvk/lvkdata_cache.pkl
|
|
283
|
+
/docs/studies/lvk/strain_cache.hdf5
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
*.gwf
|
|
287
|
+
|
|
288
|
+
*.h5
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v5.0.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: check-merge-conflict
|
|
8
|
+
- id: check-yaml
|
|
9
|
+
args: [ --unsafe ]
|
|
10
|
+
- repo: https://github.com/PyCQA/isort
|
|
11
|
+
rev: 6.0.1
|
|
12
|
+
hooks:
|
|
13
|
+
- id: isort
|
|
14
|
+
args: ["--profile", "black"]
|
|
15
|
+
- repo: https://github.com/psf/black
|
|
16
|
+
rev: 25.1.0
|
|
17
|
+
hooks:
|
|
18
|
+
- id: black
|
|
19
|
+
- repo: https://github.com/psf/black
|
|
20
|
+
rev: "25.1.0"
|
|
21
|
+
hooks:
|
|
22
|
+
- id: black-jupyter
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
.. _changelog:
|
|
2
|
+
|
|
3
|
+
=========
|
|
4
|
+
CHANGELOG
|
|
5
|
+
=========
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
.. _changelog-v0.0.3:
|
|
9
|
+
|
|
10
|
+
v0.0.3 (2025-07-16)
|
|
11
|
+
===================
|
|
12
|
+
|
|
13
|
+
Unknown
|
|
14
|
+
-------
|
|
15
|
+
|
|
16
|
+
* Merge branch 'main' of github.com:nz-gravity/LogPSplinePSD (`4c72cc2`_)
|
|
17
|
+
|
|
18
|
+
.. _4c72cc2: https://github.com/nz-gravity/LogPSplinePSD/commit/4c72cc2028d58dceeb717915f6bf2d9fb194a9c2
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
.. _changelog-v0.0.2:
|
|
22
|
+
|
|
23
|
+
v0.0.2 (2025-07-16)
|
|
24
|
+
===================
|
|
25
|
+
|
|
26
|
+
Bug Fixes
|
|
27
|
+
---------
|
|
28
|
+
|
|
29
|
+
* fix: fix pypi name bug (`b4b06db`_)
|
|
30
|
+
|
|
31
|
+
* fix: pypi readme fix and updating demo (`7ecc602`_)
|
|
32
|
+
|
|
33
|
+
Chores
|
|
34
|
+
------
|
|
35
|
+
|
|
36
|
+
* chore(release): 0.0.2 (`1d35bb9`_)
|
|
37
|
+
|
|
38
|
+
Unknown
|
|
39
|
+
-------
|
|
40
|
+
|
|
41
|
+
* Merge branch 'main' of github.com:nz-gravity/LogPSplinePSD (`5121194`_)
|
|
42
|
+
|
|
43
|
+
.. _b4b06db: https://github.com/nz-gravity/LogPSplinePSD/commit/b4b06db36c36e72793d659e317ce26af52108865
|
|
44
|
+
.. _7ecc602: https://github.com/nz-gravity/LogPSplinePSD/commit/7ecc602bc7c066bcd9b86be4340575d10057c01c
|
|
45
|
+
.. _1d35bb9: https://github.com/nz-gravity/LogPSplinePSD/commit/1d35bb982f74f1ae9be5021a983f4267b0627cfc
|
|
46
|
+
.. _5121194: https://github.com/nz-gravity/LogPSplinePSD/commit/5121194a38c18dfbf31e7bcc9c3751409d4cb9b7
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
.. _changelog-v0.0.1:
|
|
50
|
+
|
|
51
|
+
v0.0.1 (2025-07-16)
|
|
52
|
+
===================
|
|
53
|
+
|
|
54
|
+
Bug Fixes
|
|
55
|
+
---------
|
|
56
|
+
|
|
57
|
+
* fix: add gwpy for dev options (`964e40e`_)
|
|
58
|
+
|
|
59
|
+
* fix: add arviz (`7a0925c`_)
|
|
60
|
+
|
|
61
|
+
* fix: add diagostics and ar dataset for tstig (`a43ee40`_)
|
|
62
|
+
|
|
63
|
+
* fix: add demo to docs (`235c3ec`_)
|
|
64
|
+
|
|
65
|
+
* fix: init weights with mse istead of lnl (`9df1e5d`_)
|
|
66
|
+
|
|
67
|
+
Chores
|
|
68
|
+
------
|
|
69
|
+
|
|
70
|
+
* chore(release): 0.0.1 (`027591f`_)
|
|
71
|
+
|
|
72
|
+
Unknown
|
|
73
|
+
-------
|
|
74
|
+
|
|
75
|
+
* Update pypi.yml (`88c8f9b`_)
|
|
76
|
+
|
|
77
|
+
* edit readme (`60af98d`_)
|
|
78
|
+
|
|
79
|
+
* add: add option for mh and nuts (`3a08b99`_)
|
|
80
|
+
|
|
81
|
+
* refactoring to use a common parent class (`1fb79e8`_)
|
|
82
|
+
|
|
83
|
+
* change to just vanilla metropolis-hastings (get rid of covar matrix adaptation) (`b0cd698`_)
|
|
84
|
+
|
|
85
|
+
* Merge pull request #3 from nz-gravity/adding_adaptive_mcmc
|
|
86
|
+
|
|
87
|
+
Adding adaptive MCMC (`fd9a95b`_)
|
|
88
|
+
|
|
89
|
+
* init (`c41038c`_)
|
|
90
|
+
|
|
91
|
+
* fix tests (`328e854`_)
|
|
92
|
+
|
|
93
|
+
* Update docs.yml (`5877ec0`_)
|
|
94
|
+
|
|
95
|
+
* Update README.rst (`20d3f39`_)
|
|
96
|
+
|
|
97
|
+
* add line locator (`dc6469c`_)
|
|
98
|
+
|
|
99
|
+
* add fix (`7f32bbb`_)
|
|
100
|
+
|
|
101
|
+
* refactor (`a061028`_)
|
|
102
|
+
|
|
103
|
+
* add docs (`6b3905f`_)
|
|
104
|
+
|
|
105
|
+
* add examples (`cf42e6f`_)
|
|
106
|
+
|
|
107
|
+
* add psd approx (`18d0075`_)
|
|
108
|
+
|
|
109
|
+
* Merge branch 'main' of github.com:avivajpeyi/LogPSplinePSD (`a2035bb`_)
|
|
110
|
+
|
|
111
|
+
* Create LICENSE (`8fff25b`_)
|
|
112
|
+
|
|
113
|
+
* fix readme (`939cbdb`_)
|
|
114
|
+
|
|
115
|
+
* add workflows (`73fd427`_)
|
|
116
|
+
|
|
117
|
+
* Merge branch 'main' of github.com:avivajpeyi/LogPSplinePSD (`194fae8`_)
|
|
118
|
+
|
|
119
|
+
* Merge pull request #1 from avivajpeyi/pre-commit-ci-update-config
|
|
120
|
+
|
|
121
|
+
[pre-commit.ci] pre-commit autoupdate (`7231c3b`_)
|
|
122
|
+
|
|
123
|
+
* [pre-commit.ci] auto fixes from pre-commit.com hooks
|
|
124
|
+
|
|
125
|
+
for more information, see https://pre-commit.ci (`6641a63`_)
|
|
126
|
+
|
|
127
|
+
* [pre-commit.ci] pre-commit autoupdate
|
|
128
|
+
|
|
129
|
+
updates:
|
|
130
|
+
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0)
|
|
131
|
+
- https://github.com/pre-commit/mirrors-isort → https://github.com/PyCQA/isort
|
|
132
|
+
- [github.com/PyCQA/isort: v5.10.1 → 6.0.1](https://github.com/PyCQA/isort/compare/v5.10.1...6.0.1)
|
|
133
|
+
- https://github.com/ambv/black → https://github.com/psf/black
|
|
134
|
+
- [github.com/psf/black: 23.10.0 → 25.1.0](https://github.com/psf/black/compare/23.10.0...25.1.0)
|
|
135
|
+
- [github.com/psf/black: 23.10.0 → 25.1.0](https://github.com/psf/black/compare/23.10.0...25.1.0) (`98ae77a`_)
|
|
136
|
+
|
|
137
|
+
* add welch psd (`d7121d6`_)
|
|
138
|
+
|
|
139
|
+
* add LVK plots (`f818caa`_)
|
|
140
|
+
|
|
141
|
+
* add LVK example and parametric model (`0666415`_)
|
|
142
|
+
|
|
143
|
+
* hackig on alternative model (`4197563`_)
|
|
144
|
+
|
|
145
|
+
* add LVK example (`922f870`_)
|
|
146
|
+
|
|
147
|
+
* add LVK example (`4944aa1`_)
|
|
148
|
+
|
|
149
|
+
* add lvk noise (`d93f36b`_)
|
|
150
|
+
|
|
151
|
+
* add tests (`c9e3c79`_)
|
|
152
|
+
|
|
153
|
+
* more hacking (`fda820d`_)
|
|
154
|
+
|
|
155
|
+
* add ci (`3539ffb`_)
|
|
156
|
+
|
|
157
|
+
* add whitepsace (`3274b74`_)
|
|
158
|
+
|
|
159
|
+
* hacking with Benjamin (`23210a3`_)
|
|
160
|
+
|
|
161
|
+
* init project packaging (`5685aac`_)
|
|
162
|
+
|
|
163
|
+
* improve knot allocation (`8e4ad33`_)
|
|
164
|
+
|
|
165
|
+
* optimise starting weights (`1942d60`_)
|
|
166
|
+
|
|
167
|
+
* generate data for testing (`0d619ce`_)
|
|
168
|
+
|
|
169
|
+
* start hacking (`cd4026f`_)
|
|
170
|
+
|
|
171
|
+
.. _964e40e: https://github.com/nz-gravity/LogPSplinePSD/commit/964e40e8191ad20bdf3028bb268196312983058d
|
|
172
|
+
.. _7a0925c: https://github.com/nz-gravity/LogPSplinePSD/commit/7a0925cf8158fe5122ce68b9a41b9534af638099
|
|
173
|
+
.. _a43ee40: https://github.com/nz-gravity/LogPSplinePSD/commit/a43ee406b85b00fe480c36f9fbe1b45ce70a0683
|
|
174
|
+
.. _235c3ec: https://github.com/nz-gravity/LogPSplinePSD/commit/235c3ec5191c5c71952a820697d4416fc9b319e5
|
|
175
|
+
.. _9df1e5d: https://github.com/nz-gravity/LogPSplinePSD/commit/9df1e5d7527d08602a4402cb038e88c8aa474128
|
|
176
|
+
.. _027591f: https://github.com/nz-gravity/LogPSplinePSD/commit/027591fd3b4ecd334d784f25395d7bd5353c9ab2
|
|
177
|
+
.. _88c8f9b: https://github.com/nz-gravity/LogPSplinePSD/commit/88c8f9bc873be650cbcac1a2a3440db803b0afe5
|
|
178
|
+
.. _60af98d: https://github.com/nz-gravity/LogPSplinePSD/commit/60af98d50e3370107a7373018d72041a7f67e11d
|
|
179
|
+
.. _3a08b99: https://github.com/nz-gravity/LogPSplinePSD/commit/3a08b992d695f4bd9c9c8130989ee3de51341fed
|
|
180
|
+
.. _1fb79e8: https://github.com/nz-gravity/LogPSplinePSD/commit/1fb79e8689f87f89a4363d264bb1e33fbaf9217c
|
|
181
|
+
.. _b0cd698: https://github.com/nz-gravity/LogPSplinePSD/commit/b0cd6985070d56f217c4f63c6bc4f8da66c565ec
|
|
182
|
+
.. _fd9a95b: https://github.com/nz-gravity/LogPSplinePSD/commit/fd9a95bc154a1b7d009b3c4cb680a3cee9abfa5d
|
|
183
|
+
.. _c41038c: https://github.com/nz-gravity/LogPSplinePSD/commit/c41038cdc5ae858db11022f599862bf3becf4a69
|
|
184
|
+
.. _328e854: https://github.com/nz-gravity/LogPSplinePSD/commit/328e854df63dec4eacc4ec2738021c6c183489fb
|
|
185
|
+
.. _5877ec0: https://github.com/nz-gravity/LogPSplinePSD/commit/5877ec0c672fe51ad7013ebcdc931e30df990356
|
|
186
|
+
.. _20d3f39: https://github.com/nz-gravity/LogPSplinePSD/commit/20d3f393a5446bb1cd32f1661edd7993fff8ba97
|
|
187
|
+
.. _dc6469c: https://github.com/nz-gravity/LogPSplinePSD/commit/dc6469cff708fb172d5e90f2871ee57fb8e6c43a
|
|
188
|
+
.. _7f32bbb: https://github.com/nz-gravity/LogPSplinePSD/commit/7f32bbba2ddd96a0db3667ad1312b8acf7855a3d
|
|
189
|
+
.. _a061028: https://github.com/nz-gravity/LogPSplinePSD/commit/a06102836f95960b1699a073adbf441ea195b75c
|
|
190
|
+
.. _6b3905f: https://github.com/nz-gravity/LogPSplinePSD/commit/6b3905f03298d737dc1b940f7b4756dcbe122998
|
|
191
|
+
.. _cf42e6f: https://github.com/nz-gravity/LogPSplinePSD/commit/cf42e6f83eece3202eb747f09b1af55887082abb
|
|
192
|
+
.. _18d0075: https://github.com/nz-gravity/LogPSplinePSD/commit/18d007562a3e31dbed39a8c3b199252f951d03f7
|
|
193
|
+
.. _a2035bb: https://github.com/nz-gravity/LogPSplinePSD/commit/a2035bb40da74aa11dfd740af7b98af0a9d33ba5
|
|
194
|
+
.. _8fff25b: https://github.com/nz-gravity/LogPSplinePSD/commit/8fff25b4ae70f2627ca45c37ed57af842dd13353
|
|
195
|
+
.. _939cbdb: https://github.com/nz-gravity/LogPSplinePSD/commit/939cbdb650fbfdf460666ebb6f7e465f799e6e6e
|
|
196
|
+
.. _73fd427: https://github.com/nz-gravity/LogPSplinePSD/commit/73fd4276b6f44d68cfbb7fb16797be891f7e114a
|
|
197
|
+
.. _194fae8: https://github.com/nz-gravity/LogPSplinePSD/commit/194fae8d527bd7998dda38adaf0b96002c070414
|
|
198
|
+
.. _7231c3b: https://github.com/nz-gravity/LogPSplinePSD/commit/7231c3b1de002ee47b10286c4f799ae3551d4c40
|
|
199
|
+
.. _6641a63: https://github.com/nz-gravity/LogPSplinePSD/commit/6641a63c97f0c5392207fd56977ee37cf9811ac6
|
|
200
|
+
.. _98ae77a: https://github.com/nz-gravity/LogPSplinePSD/commit/98ae77ad38feaca0d65566f26d42e3adafe9f772
|
|
201
|
+
.. _d7121d6: https://github.com/nz-gravity/LogPSplinePSD/commit/d7121d6c1cd87a65355b4a6f6260578b90223339
|
|
202
|
+
.. _f818caa: https://github.com/nz-gravity/LogPSplinePSD/commit/f818caaa86467d5f26fb116a2c29c7a360ff41cf
|
|
203
|
+
.. _0666415: https://github.com/nz-gravity/LogPSplinePSD/commit/0666415347785d67b2865efe521648a7a89ee000
|
|
204
|
+
.. _4197563: https://github.com/nz-gravity/LogPSplinePSD/commit/4197563ebdd5da00a781dc22556eeb925f1cceaf
|
|
205
|
+
.. _922f870: https://github.com/nz-gravity/LogPSplinePSD/commit/922f87003a657d1578a98c3d3d803055f7969fe2
|
|
206
|
+
.. _4944aa1: https://github.com/nz-gravity/LogPSplinePSD/commit/4944aa1501d382d8ee4f6e06780c672e588b843d
|
|
207
|
+
.. _d93f36b: https://github.com/nz-gravity/LogPSplinePSD/commit/d93f36bcba5a70f2d90b40c3934de265f72cb65f
|
|
208
|
+
.. _c9e3c79: https://github.com/nz-gravity/LogPSplinePSD/commit/c9e3c790dff28a51bf9dc97b56bd63ccbcddd43b
|
|
209
|
+
.. _fda820d: https://github.com/nz-gravity/LogPSplinePSD/commit/fda820dd58f3072c86876d2a2ae218869f656f6e
|
|
210
|
+
.. _3539ffb: https://github.com/nz-gravity/LogPSplinePSD/commit/3539ffb0b1d87445201633488da63743454e0c7f
|
|
211
|
+
.. _3274b74: https://github.com/nz-gravity/LogPSplinePSD/commit/3274b74c1f0c59ea43825bdca177f99f8c8fe097
|
|
212
|
+
.. _23210a3: https://github.com/nz-gravity/LogPSplinePSD/commit/23210a35eb751832563a69101817ba906b82edba
|
|
213
|
+
.. _5685aac: https://github.com/nz-gravity/LogPSplinePSD/commit/5685aac389781eaeeadda6a1c31f2820b61cbed1
|
|
214
|
+
.. _8e4ad33: https://github.com/nz-gravity/LogPSplinePSD/commit/8e4ad33d4e99f20a2a76d40dd8539838ed5462ea
|
|
215
|
+
.. _1942d60: https://github.com/nz-gravity/LogPSplinePSD/commit/1942d6079393eb78ddcc07a7a4265805bcfcb010
|
|
216
|
+
.. _0d619ce: https://github.com/nz-gravity/LogPSplinePSD/commit/0d619ceba76869e3ec3b2d015987a77a1671cf19
|
|
217
|
+
.. _cd4026f: https://github.com/nz-gravity/LogPSplinePSD/commit/cd4026f9c50b1384a4cfba70cf8e67f938a254ac
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025, nz-gravity
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|