optixstuff 4.1.0__tar.gz → 5.0.0__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.
- {optixstuff-4.1.0 → optixstuff-5.0.0}/CHANGELOG.md +11 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/PKG-INFO +1 -1
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/_version.py +2 -2
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/exposure.py +1 -1
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/speckle.py +9 -10
- {optixstuff-4.1.0 → optixstuff-5.0.0}/.codespellrc +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/.editorconfig +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/.gitattributes +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/.gitignore +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/.pre-commit-config.yaml +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/.readthedocs.yaml +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/.zenodo.json +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/CITATION.cff +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/LICENSE +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/README.md +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/SECURITY.md +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/pyproject.toml +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/__init__.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/_repr.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/coronagraph.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/detector.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/disperser.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/optical_elements.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/optical_path.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/primary.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/src/optixstuff/yippy_coronagraph.py +0 -0
- {optixstuff-4.1.0 → optixstuff-5.0.0}/tools/check_internal_refs.py +0 -0
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.0.0](https://github.com/CoreySpohn/optixstuff/compare/v4.1.0...v5.0.0) (2026-11-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **exposure:** exposure start and speckle clock origin are days from the scene epoch
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **exposure:** exposure start and speckle clock origin are days from the scene epoch ([59ce2c8](https://github.com/CoreySpohn/optixstuff/commit/59ce2c83de150c70ff1875eb0d5a3c20d41c6430))
|
|
13
|
+
|
|
3
14
|
## [4.1.0](https://github.com/CoreySpohn/optixstuff/compare/v4.0.1...v4.1.0) (2026-11-12)
|
|
4
15
|
|
|
5
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: optixstuff
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.0
|
|
4
4
|
Summary: Hardware abstractions for the HWO direct imaging simulation suite
|
|
5
5
|
Project-URL: Homepage, https://github.com/CoreySpohn/optixstuff
|
|
6
6
|
Project-URL: Issues, https://github.com/CoreySpohn/optixstuff/issues
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '
|
|
22
|
-
__version_tuple__ = version_tuple = (
|
|
21
|
+
__version__ = version = '5.0.0'
|
|
22
|
+
__version_tuple__ = version_tuple = (5, 0, 0)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -17,7 +17,7 @@ class ExposureConfig(eqx.Module):
|
|
|
17
17
|
sequence), depending on how the factories are composed.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
start_time_d: jnp.ndarray # Days from the scene epoch
|
|
21
21
|
exposure_time_s: jnp.ndarray # Seconds
|
|
22
22
|
central_wavelength_nm: jnp.ndarray # Nanometers
|
|
23
23
|
bin_width_nm: jnp.ndarray # Nanometers
|
|
@@ -36,7 +36,7 @@ class AbstractSpeckleField(eqx.Module):
|
|
|
36
36
|
through :meth:`realize`.
|
|
37
37
|
|
|
38
38
|
All wavelength arguments are in nanometers; ``time_s`` is seconds since
|
|
39
|
-
|
|
39
|
+
the speckle clock origin. The returned map is on the field's native coronagraph
|
|
40
40
|
plane at :attr:`pixel_scale_lod`; the caller resamples it to the
|
|
41
41
|
detector grid (as for the coronagraph ``stellar_intens`` map).
|
|
42
42
|
"""
|
|
@@ -44,13 +44,12 @@ class AbstractSpeckleField(eqx.Module):
|
|
|
44
44
|
pixel_scale_lod: AbstractVar[float]
|
|
45
45
|
"""Native pixel scale in lambda/D per pixel."""
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
"""
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
JDs into the temporal synthesis."""
|
|
47
|
+
epoch_d: AbstractVar[float]
|
|
48
|
+
"""Days from the scene epoch at which ``time_s = 0``.
|
|
49
|
+
|
|
50
|
+
Consumers convert observation offsets via ``(start_time_d - epoch_d)``;
|
|
51
|
+
a nearby clock origin preserves float32 resolution in elapsed seconds.
|
|
52
|
+
"""
|
|
54
53
|
|
|
55
54
|
@abc.abstractmethod
|
|
56
55
|
def realize(
|
|
@@ -81,7 +80,7 @@ class AbstractSpeckleField(eqx.Module):
|
|
|
81
80
|
|
|
82
81
|
Args:
|
|
83
82
|
wavelength_nm: Wavelength in nanometers.
|
|
84
|
-
time_s: Time since
|
|
83
|
+
time_s: Time since the speckle clock origin in seconds.
|
|
85
84
|
|
|
86
85
|
Returns:
|
|
87
86
|
2D float contrast-delta array on the native coronagraph plane.
|
|
@@ -118,7 +117,7 @@ class AbstractSpeckleField(eqx.Module):
|
|
|
118
117
|
Args:
|
|
119
118
|
wavelength_nm: Wavelength in nanometers.
|
|
120
119
|
exposure_s: Exposure length in seconds.
|
|
121
|
-
start_time_s: Exposure start, in seconds since ``
|
|
120
|
+
start_time_s: Exposure start, in seconds since ``epoch_d``.
|
|
122
121
|
n_sub: Number of sub-exposure samples. Must be at least 1.
|
|
123
122
|
|
|
124
123
|
Returns:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|