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

model_image cuts out window if given #123

Closed ConnorStoneAstro closed 9 months ago

ConnorStoneAstro commented 9 months ago

closes #122 by making it so that the provided window cuts out the model image if given.

codecov[bot] commented 9 months ago

Codecov Report

Merging #123 (a556d3d) into main (726db05) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage   76.81%   76.81%           
=======================================
  Files          78       78           
  Lines        6953     6954    +1     
=======================================
+ Hits         5341     5342    +1     
  Misses       1612     1612           
Files Coverage Δ
astrophot/plots/image.py 72.61% <100.00%> (+0.17%) :arrow_up:

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