disko 1.4.3__tar.gz → 1.4.4__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.
- {disko-1.4.3 → disko-1.4.4}/CHANGES.md +4 -0
- {disko-1.4.3 → disko-1.4.4}/PKG-INFO +1 -1
- {disko-1.4.3 → disko-1.4.4}/disko/disko.py +12 -9
- {disko-1.4.3 → disko-1.4.4}/pyproject.toml +1 -1
- {disko-1.4.3 → disko-1.4.4}/.github/workflows/package.yaml +0 -0
- {disko-1.4.3 → disko-1.4.4}/.github/workflows/testing.yaml +0 -0
- {disko-1.4.3 → disko-1.4.4}/.gitignore +0 -0
- {disko-1.4.3 → disko-1.4.4}/.travis.yml +0 -0
- {disko-1.4.3 → disko-1.4.4}/CITATION.cff +0 -0
- {disko-1.4.3 → disko-1.4.4}/LICENSE.txt +0 -0
- {disko-1.4.3 → disko-1.4.4}/MANIFEST.in +0 -0
- {disko-1.4.3 → disko-1.4.4}/Makefile +0 -0
- {disko-1.4.3 → disko-1.4.4}/README.md +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/__init__.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/bayes_cli.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/cli.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/draw_cli.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/draw_sky.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/fov/__init__.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/fov/factory.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/healpix_sphere.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/ms_helper.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/multivariate_gaussian.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/parser_support.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/projection_lsqr.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/resolution.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/rime.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/sphere.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/sphere_mesh.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/svd_cli.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/telescope_operator.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/__init__.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/test_disko.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/test_meshsphere.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/test_multivariate.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/test_projection_lsqr.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/test_pylops_operator.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/test_sphere.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/test_subsphere.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/tests/test_telescope_operator.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/disko/util.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/docker/Dockerfile +0 -0
- {disko-1.4.3 → disko-1.4.4}/docker/Makefile +0 -0
- {disko-1.4.3 → disko-1.4.4}/docker/docker-compose.yml +0 -0
- {disko-1.4.3 → disko-1.4.4}/install.sh +0 -0
- {disko-1.4.3 → disko-1.4.4}/movie/.gitignore +0 -0
- {disko-1.4.3 → disko-1.4.4}/movie/Makefile +0 -0
- {disko-1.4.3 → disko-1.4.4}/prof.py +0 -0
- {disko-1.4.3 → disko-1.4.4}/requirements.txt +0 -0
- {disko-1.4.3 → disko-1.4.4}/sequential_test.sh +0 -0
- {disko-1.4.3 → disko-1.4.4}/setup.cfg +0 -0
- {disko-1.4.3 → disko-1.4.4}/uv.lock +0 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 1.4.4 (2026-06-22)
|
|
4
|
+
|
|
5
|
+
- Fix `image_visibilities` RAM: use matrix-free blocked adjoint instead of building the full complex Gamma matrix in memory
|
|
6
|
+
|
|
3
7
|
## 1.4.3 (2026-06-22)
|
|
4
8
|
|
|
5
9
|
- Make `gmsh` and `meshio` optional dependencies in new `[mesh]` extras group; `uv sync --extra mesh` to install
|
|
@@ -370,11 +370,10 @@ class DiSkO(object):
|
|
|
370
370
|
|
|
371
371
|
def image_visibilities(self, vis_arr, sphere):
|
|
372
372
|
"""
|
|
373
|
-
Create a DiSkO image from visibilities using the
|
|
374
|
-
measurement operator (
|
|
373
|
+
Create a DiSkO image from visibilities using the adjoint of the
|
|
374
|
+
measurement operator (matrix-free, blocked for memory efficiency).
|
|
375
375
|
|
|
376
376
|
Args:
|
|
377
|
-
|
|
378
377
|
vis_arr (np.array): An array of complex visibilities
|
|
379
378
|
sphere (FoV): a sphere to place
|
|
380
379
|
"""
|
|
@@ -383,12 +382,16 @@ class DiSkO(object):
|
|
|
383
382
|
logger.info("Imaging Visabilities resolution={}".format(sphere.min_res()))
|
|
384
383
|
t0 = time.time()
|
|
385
384
|
|
|
386
|
-
|
|
387
|
-
#
|
|
388
|
-
#
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
385
|
+
# Build a DiSkOOperator and use its adjoint (A.T @ d)
|
|
386
|
+
# This is matrix-free and uses blocked computation to avoid
|
|
387
|
+
# storing the full Gamma matrix.
|
|
388
|
+
data = self.vis_to_data(vis_arr)
|
|
389
|
+
frequencies = [self.frequency]
|
|
390
|
+
A = DiSkOOperator(
|
|
391
|
+
self.u_arr, self.v_arr, self.w_arr, data, frequencies, sphere
|
|
392
|
+
)
|
|
393
|
+
d = data.flatten()
|
|
394
|
+
pixels = A.T @ d # shape (n_pix,)
|
|
392
395
|
|
|
393
396
|
logger.info("Elapsed {}s".format(time.time() - t0))
|
|
394
397
|
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|