jwstark 0.0.1__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 (78) hide show
  1. jwstark-0.0.1/.gitignore +228 -0
  2. jwstark-0.0.1/.readthedocs.yaml +20 -0
  3. jwstark-0.0.1/MANIFEST.in +7 -0
  4. jwstark-0.0.1/PKG-INFO +779 -0
  5. jwstark-0.0.1/README.rst +39 -0
  6. jwstark-0.0.1/docs/MD/detector_processing_notes.md +963 -0
  7. jwstark-0.0.1/docs/MD/extraction_notes.md +828 -0
  8. jwstark-0.0.1/docs/MD/fitting_notes.md +1273 -0
  9. jwstark-0.0.1/docs/Makefile +20 -0
  10. jwstark-0.0.1/docs/_static/custom.css +16 -0
  11. jwstark-0.0.1/docs/conf.py +108 -0
  12. jwstark-0.0.1/docs/index.rst +122 -0
  13. jwstark-0.0.1/docs/make.bat +35 -0
  14. jwstark-0.0.1/docs/tutorials/gj3929b_miri_f1500w.ipynb +1007 -0
  15. jwstark-0.0.1/docs/tutorials/index.rst +45 -0
  16. jwstark-0.0.1/docs/tutorials/wasp39b_nircam.ipynb +1098 -0
  17. jwstark-0.0.1/docs/tutorials/wasp39b_prism.ipynb +2012 -0
  18. jwstark-0.0.1/docs/tutorials/wasp43b_miri_lrs.ipynb +1057 -0
  19. jwstark-0.0.1/docs/user_guide/api.rst +35 -0
  20. jwstark-0.0.1/docs/user_guide/extraction.rst +302 -0
  21. jwstark-0.0.1/docs/user_guide/fitting.rst +437 -0
  22. jwstark-0.0.1/docs/user_guide/index.rst +15 -0
  23. jwstark-0.0.1/docs/user_guide/quickstart.rst +140 -0
  24. jwstark-0.0.1/docs/user_guide/reduction.rst +195 -0
  25. jwstark-0.0.1/jstark/__init__.py +6 -0
  26. jwstark-0.0.1/jstark/data/README.rst +6 -0
  27. jwstark-0.0.1/jstark/extraction/__init__.py +37 -0
  28. jwstark-0.0.1/jstark/extraction/background.py +150 -0
  29. jwstark-0.0.1/jstark/extraction/bspline.py +291 -0
  30. jwstark-0.0.1/jstark/extraction/config.py +116 -0
  31. jwstark-0.0.1/jstark/extraction/contamination.py +153 -0
  32. jwstark-0.0.1/jstark/extraction/covariance.py +123 -0
  33. jwstark-0.0.1/jstark/extraction/diagnostics.py +253 -0
  34. jwstark-0.0.1/jstark/extraction/extract.py +235 -0
  35. jwstark-0.0.1/jstark/extraction/extractor.py +1992 -0
  36. jwstark-0.0.1/jstark/extraction/metrics.py +88 -0
  37. jwstark-0.0.1/jstark/extraction/photometry.py +1626 -0
  38. jwstark-0.0.1/jstark/extraction/psf.py +277 -0
  39. jwstark-0.0.1/jstark/extraction/source.py +177 -0
  40. jwstark-0.0.1/jstark/extraction/trace.py +368 -0
  41. jwstark-0.0.1/jstark/fitting/__init__.py +33 -0
  42. jwstark-0.0.1/jstark/fitting/fit.py +782 -0
  43. jwstark-0.0.1/jstark/fitting/lightcurve.py +796 -0
  44. jwstark-0.0.1/jstark/fitting/plots.py +1678 -0
  45. jwstark-0.0.1/jstark/fitting/priors.py +283 -0
  46. jwstark-0.0.1/jstark/fitting/spectroscopic.py +792 -0
  47. jwstark-0.0.1/jstark/fitting/utils.py +776 -0
  48. jwstark-0.0.1/jstark/plotting.py +153 -0
  49. jwstark-0.0.1/jstark/reduction/__init__.py +21 -0
  50. jwstark-0.0.1/jstark/reduction/_compat.py +51 -0
  51. jwstark-0.0.1/jstark/reduction/bias.py +111 -0
  52. jwstark-0.0.1/jstark/reduction/cleaning.py +1261 -0
  53. jwstark-0.0.1/jstark/reduction/diagnostics.py +222 -0
  54. jwstark-0.0.1/jstark/reduction/instruments.py +325 -0
  55. jwstark-0.0.1/jstark/reduction/io.py +182 -0
  56. jwstark-0.0.1/jstark/reduction/jump.py +149 -0
  57. jwstark-0.0.1/jstark/reduction/masks.py +269 -0
  58. jwstark-0.0.1/jstark/reduction/onef.py +573 -0
  59. jwstark-0.0.1/jstark/reduction/robust.py +139 -0
  60. jwstark-0.0.1/jstark/reduction/stage1.py +763 -0
  61. jwstark-0.0.1/jstark/reduction/stage2.py +257 -0
  62. jwstark-0.0.1/jstark/tests/__init__.py +3 -0
  63. jwstark-0.0.1/jstark/version.py +24 -0
  64. jwstark-0.0.1/jwstark.egg-info/PKG-INFO +779 -0
  65. jwstark-0.0.1/jwstark.egg-info/SOURCES.txt +76 -0
  66. jwstark-0.0.1/jwstark.egg-info/dependency_links.txt +1 -0
  67. jwstark-0.0.1/jwstark.egg-info/not-zip-safe +1 -0
  68. jwstark-0.0.1/jwstark.egg-info/requires.txt +25 -0
  69. jwstark-0.0.1/jwstark.egg-info/scm_file_list.json +71 -0
  70. jwstark-0.0.1/jwstark.egg-info/scm_version.json +8 -0
  71. jwstark-0.0.1/jwstark.egg-info/top_level.txt +1 -0
  72. jwstark-0.0.1/licenses/LICENSE.rst +708 -0
  73. jwstark-0.0.1/licenses/README.rst +9 -0
  74. jwstark-0.0.1/licenses/TEMPLATE_LICENSE.rst +31 -0
  75. jwstark-0.0.1/pyproject.toml +107 -0
  76. jwstark-0.0.1/setup.cfg +4 -0
  77. jwstark-0.0.1/setup.py +4 -0
  78. jwstark-0.0.1/tox.ini +65 -0
@@ -0,0 +1,228 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+ docs/api/
75
+
76
+ # PyBuilder
77
+ .pybuilder/
78
+ target/
79
+
80
+ # Jupyter Notebook
81
+ .ipynb_checkpoints
82
+
83
+ # IPython
84
+ profile_default/
85
+ ipython_config.py
86
+
87
+ # pyenv
88
+ # For a library or package, you might want to ignore these files since the code is
89
+ # intended to run in multiple environments; otherwise, check them in:
90
+ # .python-version
91
+
92
+ # pipenv
93
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
95
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
96
+ # install all needed dependencies.
97
+ # Pipfile.lock
98
+
99
+ # uv
100
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
101
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
102
+ # commonly ignored for libraries.
103
+ # uv.lock
104
+
105
+ # poetry
106
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
107
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
108
+ # commonly ignored for libraries.
109
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
110
+ # poetry.lock
111
+ # poetry.toml
112
+
113
+ # pdm
114
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
115
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
116
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
117
+ # pdm.lock
118
+ # pdm.toml
119
+ .pdm-python
120
+ .pdm-build/
121
+
122
+ # pixi
123
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
124
+ # pixi.lock
125
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
126
+ # in the .venv directory. It is recommended not to include this directory in version control.
127
+ .pixi/*
128
+ !.pixi/config.toml
129
+
130
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
131
+ __pypackages__/
132
+
133
+ # Celery stuff
134
+ celerybeat-schedule*
135
+ celerybeat.pid
136
+
137
+ # Redis
138
+ *.rdb
139
+ *.aof
140
+ *.pid
141
+
142
+ # RabbitMQ
143
+ mnesia/
144
+ rabbitmq/
145
+ rabbitmq-data/
146
+
147
+ # ActiveMQ
148
+ activemq-data/
149
+
150
+ # SageMath parsed files
151
+ *.sage.py
152
+
153
+ # Environments
154
+ .env
155
+ .envrc
156
+ .venv
157
+ env/
158
+ venv/
159
+ ENV/
160
+ env.bak/
161
+ venv.bak/
162
+
163
+ # Spyder project settings
164
+ .spyderproject
165
+ .spyproject
166
+
167
+ # Rope project settings
168
+ .ropeproject
169
+
170
+ # mkdocs/Zensical documentation
171
+ /site
172
+
173
+ # mypy
174
+ .mypy_cache/
175
+ .dmypy.json
176
+ dmypy.json
177
+
178
+ # Pyre type checker
179
+ .pyre/
180
+
181
+ # pytype static type analyzer
182
+ .pytype/
183
+
184
+ # Cython debug symbols
185
+ cython_debug/
186
+
187
+ # PyCharm
188
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
189
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
190
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
191
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
192
+ # .idea/
193
+
194
+ # Abstra
195
+ # Abstra is an AI-powered process automation framework.
196
+ # Ignore directories containing user credentials, local state, and settings.
197
+ # Learn more at https://abstra.io/docs
198
+ .abstra/
199
+
200
+ # Visual Studio Code
201
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
202
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
203
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
204
+ # could uncomment the following to ignore the entire vscode folder
205
+ # .vscode/
206
+ # Temporary file for partial code execution
207
+ tempCodeRunnerFile.py
208
+
209
+ # Ruff stuff:
210
+ .ruff_cache/
211
+
212
+ # PyPI configuration file
213
+ .pypirc
214
+
215
+ # Marimo
216
+ marimo/_static/
217
+ marimo/_lsp/
218
+ __marimo__/
219
+
220
+ # Streamlit
221
+ .streamlit/secrets.toml
222
+
223
+ *DS_Store
224
+ /jstark/data
225
+ /jstark/tests
226
+ # macOS AppleDouble metadata files (created on exFAT/non-Apple volumes)
227
+ ._*
228
+ .claude/settings.local.json
@@ -0,0 +1,20 @@
1
+ # Read the Docs configuration: https://docs.readthedocs.io/en/stable/config-file/v2.html
2
+ version: 2
3
+
4
+ build:
5
+ os: ubuntu-24.04
6
+ tools:
7
+ python: "3.12"
8
+ apt_packages:
9
+ - pandoc # nbsphinx converts the notebooks' Markdown cells with pandoc
10
+
11
+ sphinx:
12
+ configuration: docs/conf.py
13
+
14
+ python:
15
+ install:
16
+ - method: pip
17
+ path: .
18
+ extra_requirements:
19
+ - docs
20
+ - fitting # jstark.fitting imports juliet; needed for its API pages
@@ -0,0 +1,7 @@
1
+ # Exclude specific files
2
+ # All files which are tracked by git and not explicitly excluded here are included by setuptools_scm
3
+ # Prune folders
4
+ prune build
5
+ prune docs/_build
6
+ prune docs/api
7
+ global-exclude *.pyc *.o