starccato-lvk 0.0.2__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.
Files changed (46) hide show
  1. starccato_lvk-0.0.2/.github/workflows/pypi.yml +55 -0
  2. starccato_lvk-0.0.2/.gitignore +183 -0
  3. starccato_lvk-0.0.2/CHANGELOG.rst +142 -0
  4. starccato_lvk-0.0.2/PKG-INFO +41 -0
  5. starccato_lvk-0.0.2/README.md +3 -0
  6. starccato_lvk-0.0.2/pyproject.toml +146 -0
  7. starccato_lvk-0.0.2/setup.cfg +4 -0
  8. starccato_lvk-0.0.2/src/starccato_lvk/__init__.py +0 -0
  9. starccato_lvk-0.0.2/src/starccato_lvk/_version.py +34 -0
  10. starccato_lvk-0.0.2/src/starccato_lvk/arviz_utils.py +217 -0
  11. starccato_lvk-0.0.2/src/starccato_lvk/constants.py +6 -0
  12. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/README.md +8 -0
  13. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/__init__.py +0 -0
  14. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/config.py +4 -0
  15. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/__init__.py +0 -0
  16. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/data/README.md +6 -0
  17. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/data/only_noise_segments.txt +1207 -0
  18. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/determine_valid_segments.py +109 -0
  19. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/event_catalog.py +40 -0
  20. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/glitch_catalog.py +52 -0
  21. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/inject_signal_into_noise.py +25 -0
  22. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/only_noise_data.py +43 -0
  23. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/plotting.py +76 -0
  24. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/strain_loader.py +73 -0
  25. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/io/utils.py +48 -0
  26. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/lvk_fetch.py +330 -0
  27. starccato_lvk-0.0.2/src/starccato_lvk/data_acquisition/main.py +58 -0
  28. starccato_lvk-0.0.2/src/starccato_lvk/jax_utils.py +42 -0
  29. starccato_lvk-0.0.2/src/starccato_lvk/likelihood.py +154 -0
  30. starccato_lvk-0.0.2/src/starccato_lvk/lvk_data_prep.py +259 -0
  31. starccato_lvk-0.0.2/src/starccato_lvk/main.py +165 -0
  32. starccato_lvk-0.0.2/src/starccato_lvk/post_proc/__init__.py +2 -0
  33. starccato_lvk-0.0.2/src/starccato_lvk/post_proc/plot_diagnostics.py +95 -0
  34. starccato_lvk-0.0.2/src/starccato_lvk/post_proc/plot_posterior_predictive.py +227 -0
  35. starccato_lvk-0.0.2/src/starccato_lvk.egg-info/PKG-INFO +41 -0
  36. starccato_lvk-0.0.2/src/starccato_lvk.egg-info/SOURCES.txt +44 -0
  37. starccato_lvk-0.0.2/src/starccato_lvk.egg-info/dependency_links.txt +1 -0
  38. starccato_lvk-0.0.2/src/starccato_lvk.egg-info/entry_points.txt +5 -0
  39. starccato_lvk-0.0.2/src/starccato_lvk.egg-info/requires.txt +23 -0
  40. starccato_lvk-0.0.2/src/starccato_lvk.egg-info/top_level.txt +1 -0
  41. starccato_lvk-0.0.2/studies/v2.py +38 -0
  42. starccato_lvk-0.0.2/tests/conftest.py +63 -0
  43. starccato_lvk-0.0.2/tests/test_data/L1/1263534080/download_data.sh +3 -0
  44. starccato_lvk-0.0.2/tests/test_data_acquisition.py +52 -0
  45. starccato_lvk-0.0.2/tests/test_likelihood.py +58 -0
  46. starccato_lvk-0.0.2/tests/test_sampler.py +164 -0
@@ -0,0 +1,55 @@
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
+ on:
13
+ workflow_dispatch:
14
+
15
+
16
+ jobs:
17
+
18
+ release:
19
+ runs-on: ubuntu-latest
20
+ concurrency: release
21
+ permissions:
22
+ id-token: write
23
+ contents: write
24
+
25
+ steps:
26
+ - uses: actions/checkout@v4.2.2
27
+ with:
28
+ fetch-depth: 0
29
+ ref: main # Replace with your branch
30
+
31
+ - uses: actions/setup-python@v5
32
+ with:
33
+ python-version: '3.11'
34
+ cache: 'pip' # Enable caching for pip dependencies
35
+
36
+
37
+ - name: Semantic Version Release
38
+ id: release
39
+ # Adjust tag with desired version if applicable.
40
+ uses: python-semantic-release/python-semantic-release@v9.12.0
41
+ with:
42
+ github_token: ${{ secrets.GITHUB_TOKEN }}
43
+ git_committer_name: "github-actions"
44
+ git_committer_email: "actions@users.noreply.github.com"
45
+
46
+
47
+ - name: build dist for pypi
48
+ if: steps.release.outputs.released == 'true'
49
+ run: |
50
+ python -m pip install --upgrade build
51
+ python -m build --sdist --wheel --outdir dist/
52
+
53
+ - name: pypi-publish
54
+ if: steps.release.outputs.released == 'true'
55
+ uses: pypa/gh-action-pypi-publish@v1.12.3
@@ -0,0 +1,183 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *_version.py
6
+ # C extensions
7
+ *.so
8
+ *.txt
9
+ *.npy
10
+ # Distribution / packaging
11
+ .Python
12
+ outdir
13
+ outdir*
14
+ build/
15
+ develop-eggs/
16
+ dist/
17
+ downloads/
18
+ eggs/
19
+ .eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ wheels/
26
+ share/python-wheels/
27
+ *.egg-info/
28
+ .installed.cfg
29
+ *.egg
30
+ MANIFEST
31
+ *.csv
32
+ *.hdf5
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .nox/
47
+ .coverage
48
+ .coverage.*
49
+ .cache
50
+ nosetests.xml
51
+ coverage.xml
52
+ *.cover
53
+ *.py,cover
54
+ .hypothesis/
55
+ .pytest_cache/
56
+ cover/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+ db.sqlite3
66
+ db.sqlite3-journal
67
+
68
+ # Flask stuff:
69
+ instance/
70
+ .webassets-cache
71
+
72
+ # Scrapy stuff:
73
+ .scrapy
74
+
75
+ # Sphinx documentation
76
+ docs/_build/
77
+
78
+ # PyBuilder
79
+ .pybuilder/
80
+ target/
81
+
82
+ # Jupyter Notebook
83
+ .ipynb_checkpoints
84
+
85
+ # IPython
86
+ profile_default/
87
+ ipython_config.py
88
+
89
+ # pyenv
90
+ # For a library or package, you might want to ignore these files since the code is
91
+ # intended to run in multiple environments; otherwise, check them in:
92
+ # .python-version
93
+
94
+ # pipenv
95
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
97
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
98
+ # install all needed dependencies.
99
+ #Pipfile.lock
100
+
101
+ # UV
102
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
103
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
104
+ # commonly ignored for libraries.
105
+ #uv.lock
106
+
107
+ # poetry
108
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
109
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
110
+ # commonly ignored for libraries.
111
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
112
+ #poetry.lock
113
+
114
+ # pdm
115
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
116
+ #pdm.lock
117
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
118
+ # in version control.
119
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
120
+ .pdm.toml
121
+ .pdm-python
122
+ .pdm-build/
123
+
124
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
125
+ __pypackages__/
126
+
127
+ # Celery stuff
128
+ celerybeat-schedule
129
+ celerybeat.pid
130
+
131
+ # SageMath parsed files
132
+ *.sage.py
133
+
134
+ # Environments
135
+ .env
136
+ .venv
137
+ env/
138
+ venv/
139
+ ENV/
140
+ env.bak/
141
+ venv.bak/
142
+
143
+ # Spyder project settings
144
+ .spyderproject
145
+ .spyproject
146
+
147
+ # Rope project settings
148
+ .ropeproject
149
+
150
+ # mkdocs documentation
151
+ /site
152
+
153
+ # mypy
154
+ .mypy_cache/
155
+ .dmypy.json
156
+ dmypy.json
157
+
158
+ # Pyre type checker
159
+ .pyre/
160
+
161
+
162
+ *.DS_Store
163
+ *.csv
164
+
165
+ # pytype static type analyzer
166
+ .pytype/
167
+
168
+ # Cython debug symbols
169
+ cython_debug/
170
+
171
+ # PyCharm
172
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
173
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
174
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
175
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
176
+ #.idea/
177
+
178
+ # PyPI configuration file
179
+ .pypirc
180
+
181
+ *.png
182
+ *.hdf5
183
+ *.h5
@@ -0,0 +1,142 @@
1
+ .. _changelog:
2
+
3
+ =========
4
+ CHANGELOG
5
+ =========
6
+
7
+
8
+ .. _changelog-v0.0.2:
9
+
10
+ v0.0.2 (2025-10-06)
11
+ ===================
12
+
13
+ Bug Fixes
14
+ ---------
15
+
16
+ * fix: pypi error (`ebf36f5`_)
17
+
18
+ Unknown
19
+ -------
20
+
21
+ * Merge branch 'main' of github.com:starccato/starccato_lvk (`740d1bd`_)
22
+
23
+ .. _ebf36f5: https://github.com/starccato/starccato_lvk/commit/ebf36f55556f10e3df2e5e8fc465f6cb41458de2
24
+ .. _740d1bd: https://github.com/starccato/starccato_lvk/commit/740d1bd26d06f8031053ebd20a88551bff50092b
25
+
26
+
27
+ .. _changelog-v0.0.1:
28
+
29
+ v0.0.1 (2025-10-06)
30
+ ===================
31
+
32
+ Bug Fixes
33
+ ---------
34
+
35
+ * fix: add missing packages to pyproj (`f0e254f`_)
36
+
37
+ Chores
38
+ ------
39
+
40
+ * chore(release): 0.0.1 (`68f7303`_)
41
+
42
+ Unknown
43
+ -------
44
+
45
+ * add readme to pyproj (`887d746`_)
46
+
47
+ * add scipy (`1e7866a`_)
48
+
49
+ * add prior adjustment (`5c5c8e1`_)
50
+
51
+ * remove old sampler (`37dfaab`_)
52
+
53
+ * add main runner interface (`97f9ada`_)
54
+
55
+ * add sampler (`ef11073`_)
56
+
57
+ * Remove whitened strain (`7528350`_)
58
+
59
+ * add workign analysis with real data (`bdeab68`_)
60
+
61
+ * add minimim SNR test (`844e5c2`_)
62
+
63
+ * passing with correct psd normalisation (`0b0c059`_)
64
+
65
+ * simplify test (`173b2f7`_)
66
+
67
+ * Added more testing (`4eebcfc`_)
68
+
69
+ * Add fixed time_shift, mre diagnostics, plot the interp PSD (`abcded7`_)
70
+
71
+ * Add fixed ampliitude (`c34c3ba`_)
72
+
73
+ * Add simulated PSD test (`39ef54d`_)
74
+
75
+ * add testing for lnl (`3c6cfca`_)
76
+
77
+ * hacking on PE (`c060500`_)
78
+
79
+ * add sampler (`aaf4cfe`_)
80
+
81
+ * hacking on lnl (`dabb9ef`_)
82
+
83
+ * add new exe (`66e63a8`_)
84
+
85
+ * fix float to int bug (`0bdf931`_)
86
+
87
+ * remove invalid help in click (`c0f0154`_)
88
+
89
+ * remove invalid help in click (`1d6c00f`_)
90
+
91
+ * get trigger data for blips and noise (`96004b8`_)
92
+
93
+ * adjust start stop (`c3c6359`_)
94
+
95
+ * add pyproj commands (`d4da95d`_)
96
+
97
+ * more hackig on data acquisition (`e8897db`_)
98
+
99
+ * add notes (`e86679f`_)
100
+
101
+ * add testing (`f6b96d3`_)
102
+
103
+ * add notes (`79134c1`_)
104
+
105
+ * hacking on lnl (`31f0ce0`_)
106
+
107
+ * Initial commit (`6974955`_)
108
+
109
+ .. _f0e254f: https://github.com/starccato/starccato_lvk/commit/f0e254f87b6aef4a9c0cf757475854da40fb134e
110
+ .. _68f7303: https://github.com/starccato/starccato_lvk/commit/68f7303fcdbfa352d87894634e79782ea4cf1dcb
111
+ .. _887d746: https://github.com/starccato/starccato_lvk/commit/887d7467702e22660d918c14a11925d4b1edc274
112
+ .. _1e7866a: https://github.com/starccato/starccato_lvk/commit/1e7866af19444f5b95458b1b17cc3436372d3aef
113
+ .. _5c5c8e1: https://github.com/starccato/starccato_lvk/commit/5c5c8e1dc18dfafcdc8c761f23700fee3daa9377
114
+ .. _37dfaab: https://github.com/starccato/starccato_lvk/commit/37dfaab5cd6b932205d8925aff74b1fcc02bf625
115
+ .. _97f9ada: https://github.com/starccato/starccato_lvk/commit/97f9ada52621c10bb8bc80beb0bd01fe58af4364
116
+ .. _ef11073: https://github.com/starccato/starccato_lvk/commit/ef11073835b6731d08c9643f1d102ef7a6c09ac4
117
+ .. _7528350: https://github.com/starccato/starccato_lvk/commit/75283506f03b567042ac21971e3d3f33b1c1f6bd
118
+ .. _bdeab68: https://github.com/starccato/starccato_lvk/commit/bdeab68b68fb7fca51417ec6758fdb5fceaa4306
119
+ .. _844e5c2: https://github.com/starccato/starccato_lvk/commit/844e5c259ffd4a7e7ab4483ccef904ed0b21e457
120
+ .. _0b0c059: https://github.com/starccato/starccato_lvk/commit/0b0c05938fe160c60abe708f687cd5e9fdb64cc8
121
+ .. _173b2f7: https://github.com/starccato/starccato_lvk/commit/173b2f7c10bbe58c3ae90189d5e4c77003ffdb9b
122
+ .. _4eebcfc: https://github.com/starccato/starccato_lvk/commit/4eebcfc5a2c1ad8c0cd81e133aa2b72fbd2acc3a
123
+ .. _abcded7: https://github.com/starccato/starccato_lvk/commit/abcded72d4a6b3dab06d640d816cab26baf943bb
124
+ .. _c34c3ba: https://github.com/starccato/starccato_lvk/commit/c34c3ba3f0148a0bce260af6264abea5f5c70fba
125
+ .. _39ef54d: https://github.com/starccato/starccato_lvk/commit/39ef54d3eec58618be222bc72b42cc1d8842cc8e
126
+ .. _3c6cfca: https://github.com/starccato/starccato_lvk/commit/3c6cfcaccace8ba14475a077153d563ee072dd63
127
+ .. _c060500: https://github.com/starccato/starccato_lvk/commit/c0605003b23036a49e6af4278172d4c67a9d2130
128
+ .. _aaf4cfe: https://github.com/starccato/starccato_lvk/commit/aaf4cfe6cdf85f2ef73c5a5e8ae3d3101e76a3c6
129
+ .. _dabb9ef: https://github.com/starccato/starccato_lvk/commit/dabb9ef85d3f2dc89fff6b0c96763098e3c3633b
130
+ .. _66e63a8: https://github.com/starccato/starccato_lvk/commit/66e63a843820848be13c1653b6b456dd78c9951c
131
+ .. _0bdf931: https://github.com/starccato/starccato_lvk/commit/0bdf931059116f9520ff79c89989ca9e210cdad3
132
+ .. _c0f0154: https://github.com/starccato/starccato_lvk/commit/c0f0154495b45bd884029f7b4a8c26bc9f55b7bc
133
+ .. _1d6c00f: https://github.com/starccato/starccato_lvk/commit/1d6c00fef2812df1f2cdbfba5477e44d45942bad
134
+ .. _96004b8: https://github.com/starccato/starccato_lvk/commit/96004b8901f9f75a4260b817627c71c312ad3acd
135
+ .. _c3c6359: https://github.com/starccato/starccato_lvk/commit/c3c635970a5905e6f979e55b5b34e38b159535ac
136
+ .. _d4da95d: https://github.com/starccato/starccato_lvk/commit/d4da95db06f8825bf22eac1382704c52fead0883
137
+ .. _e8897db: https://github.com/starccato/starccato_lvk/commit/e8897dbec1368e0e9a58994bfbfd893cebd7cd27
138
+ .. _e86679f: https://github.com/starccato/starccato_lvk/commit/e86679fd3ac4dee355752c664c6040634efe9e88
139
+ .. _f6b96d3: https://github.com/starccato/starccato_lvk/commit/f6b96d35c09b5b3a5686a7a9b740fa02605ee73b
140
+ .. _79134c1: https://github.com/starccato/starccato_lvk/commit/79134c1e65562943e1bb0a8dd83e8a8cb3d494d2
141
+ .. _31f0ce0: https://github.com/starccato/starccato_lvk/commit/31f0ce015a2fa91d2875b58fffcc33ce21df211c
142
+ .. _6974955: https://github.com/starccato/starccato_lvk/commit/6974955e110d1ed275909841fd45f24ed814cfa3
@@ -0,0 +1,41 @@
1
+ Metadata-Version: 2.4
2
+ Name: starccato_lvk
3
+ Version: 0.0.2
4
+ Summary: JAX-VAE stellar core collapse waveform tools for LVK data analysis
5
+ Author-email: Starccato Team <avi.vajpeyi@gmail.com>
6
+ Project-URL: Homepage, https://starccato.github.io/starccato_lvk/
7
+ Project-URL: Bug Reports, https://giuthub.com/starccato/starccato_lvk/issues
8
+ Project-URL: Source, https://github.com/starccato/starccato_lvk/
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Requires-Python: >=3.9
15
+ Description-Content-Type: text/markdown
16
+ Requires-Dist: jax
17
+ Requires-Dist: flax
18
+ Requires-Dist: numpy
19
+ Requires-Dist: matplotlib
20
+ Requires-Dist: pandas
21
+ Requires-Dist: h5py
22
+ Requires-Dist: pillow
23
+ Requires-Dist: natsort
24
+ Requires-Dist: tqdm
25
+ Requires-Dist: pycbc
26
+ Requires-Dist: gwpy
27
+ Requires-Dist: scipy
28
+ Provides-Extra: dev
29
+ Requires-Dist: pytest; extra == "dev"
30
+ Requires-Dist: pytest-cov; extra == "dev"
31
+ Requires-Dist: flake8>=5.0.4; extra == "dev"
32
+ Requires-Dist: black>=22.12.0; extra == "dev"
33
+ Requires-Dist: black[jupyter]>=22.12.0; extra == "dev"
34
+ Requires-Dist: isort; extra == "dev"
35
+ Requires-Dist: mypy; extra == "dev"
36
+ Requires-Dist: jupyter-book; extra == "dev"
37
+ Requires-Dist: pre-commit; extra == "dev"
38
+
39
+ # starccato_lvk
40
+
41
+ Tools to help work with LVK data
@@ -0,0 +1,3 @@
1
+ # starccato_lvk
2
+
3
+ Tools to help work with LVK data
@@ -0,0 +1,146 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools>=64",
4
+ "setuptools-scm>=8.0",
5
+ "wheel"
6
+ ]
7
+ build-backend = "setuptools.build_meta"
8
+
9
+ [project]
10
+ name = "starccato_lvk"
11
+ dynamic = ["version"] # scm versioning (using tags)
12
+ requires-python = ">=3.9"
13
+ description = "JAX-VAE stellar core collapse waveform tools for LVK data analysis"
14
+ readme = "README.md"
15
+ authors = [
16
+ { name = "Starccato Team", email = "avi.vajpeyi@gmail.com" },
17
+ ]
18
+ classifiers = [
19
+ "Development Status :: 3 - Alpha",
20
+ "Intended Audience :: Science/Research",
21
+ "License :: OSI Approved :: MIT License",
22
+ "Operating System :: OS Independent",
23
+ "Programming Language :: Python :: 3.8",
24
+ ]
25
+ dependencies = [
26
+ "jax",
27
+ "flax",
28
+ "numpy",
29
+ "matplotlib",
30
+ "pandas",
31
+ "h5py",
32
+ "pillow",
33
+ "natsort",
34
+ "tqdm",
35
+ "pycbc",
36
+ "gwpy",
37
+ "scipy",
38
+ ]
39
+
40
+ [project.optional-dependencies]
41
+ dev = [
42
+ "pytest",
43
+ "pytest-cov",
44
+ "flake8>=5.0.4",
45
+ "black>=22.12.0",
46
+ "black[jupyter]>=22.12.0",
47
+ "isort",
48
+ "mypy",
49
+ "jupyter-book",
50
+ "pre-commit"
51
+ ]
52
+
53
+ [tool.setuptools_scm]
54
+ version_file = "src/starccato_lvk/_version.py"
55
+
56
+ [tool.semantic_release]
57
+ version_variable = "src/starccato_lvk/_version.py:__version__"
58
+ version_source = "commit"
59
+ commit_version_number = true
60
+ commit_subject = "chore(release): {version}"
61
+ commit_message = "chore(release): {version}"
62
+ tag_format = "v{version}"
63
+ no_local_version = true
64
+
65
+
66
+ [tool.semantic_release.changelog]
67
+ changelog_file = "CHANGELOG.rst"
68
+
69
+ [project.urls] # Optional
70
+ "Homepage" = "https://starccato.github.io/starccato_lvk/"
71
+ "Bug Reports" = "https://giuthub.com/starccato/starccato_lvk/issues"
72
+ "Source" = "https://github.com/starccato/starccato_lvk/"
73
+
74
+
75
+ [tool.setuptools]
76
+ package-data = { "starccato_lvk" = [""] }
77
+
78
+ [tool.setuptools.packages.find]
79
+ where = ["src"]
80
+
81
+
82
+
83
+ [tool.black]
84
+ line-length = 79
85
+ exclude = '''
86
+ /(
87
+ \.eggs
88
+ | \.git
89
+ | \.hg
90
+ | \.mypy_cache
91
+ | \.tox
92
+ | \.venv
93
+ | _build
94
+ | buck-out
95
+ | build
96
+ | dist
97
+ )/
98
+ '''
99
+
100
+ [tool.isort]
101
+ profile = "black"
102
+ line_length = 79
103
+
104
+
105
+ [tool.pytest.ini_options]
106
+ testpaths = ["tests"]
107
+
108
+ [tool.coverage.run]
109
+ branch = true
110
+ source = [
111
+ "starccato_jax"
112
+ ]
113
+
114
+ [tool.coverage.paths]
115
+ source = [
116
+ "src/starccato_lvk",
117
+ "**/site-packages/starccato_lvk"
118
+ ]
119
+
120
+ [tool.coverage.report]
121
+ exclude_lines = [
122
+ "pragma: no cover",
123
+ "def __repr__",
124
+ "if self.debug",
125
+ "raise AssertionError",
126
+ "raise NotImplentedError",
127
+ "if 0:",
128
+ "if __name__ == .__main__.:"
129
+ ]
130
+
131
+ ignore_errors = true
132
+
133
+ [tool.coverage.html]
134
+ title = "starccato_jax Coverage Test Report"
135
+
136
+
137
+ [[tool.mypy.overrides]]
138
+ module = "matplotlib.*,scipy.*,numba.*,bilby.*"
139
+ ignore_missing_imports = true
140
+
141
+
142
+ [project.scripts]
143
+ get_analysis_data = "starccato_lvk.data_acquisition.main:cli_get_analysis_data"
144
+ get_valid_times = "starccato_lvk.data_acquisition.main:cli_get_valid_times"
145
+ collect_lvk_data = "starccato_lvk.data_acquisition.main:cli_collect_lvk_data"
146
+ lvk_fetch = "starccato_lvk.data_acquisition.lvk_fetch:cli"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '0.0.2'
32
+ __version_tuple__ = version_tuple = (0, 0, 2)
33
+
34
+ __commit_id__ = commit_id = 'ga2887d2ec'