Autostronomy / AstroPhot

A fast, flexible, automated, and differentiable astronomical image 2D forward modelling tool for precise parallel multi-wavelength photometry
https://astrophot.readthedocs.io
GNU General Public License v3.0
79 stars 9 forks source link

Chunk image jacobian #139

Closed ConnorStoneAstro closed 8 months ago

ConnorStoneAstro commented 8 months ago

Simple chunking scheme for large images. To prevent jacobian calculation from overloading the available memory, this will break up the image into sub-windows and compute the jacobian on them. Then it will stitch the images together to construct the full jacobian.

codecov[bot] commented 8 months ago

Codecov Report

Merging #139 (a08385c) into dev (53e81e7) will increase coverage by 0.04%. Report is 1 commits behind head on dev. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #139      +/-   ##
==========================================
+ Coverage   78.51%   78.56%   +0.04%     
==========================================
  Files          80       80              
  Lines        7098     7114      +16     
==========================================
+ Hits         5573     5589      +16     
  Misses       1525     1525              
Files Coverage Δ
astrophot/models/model_object.py 81.58% <100.00%> (+1.32%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more