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
84 stars 9 forks source link

Downsampling fitting #87

Open ConnorStoneAstro opened 1 year ago

ConnorStoneAstro commented 1 year ago

Is your feature request related to a problem? Please describe. Some images are too large to fit at native resolution, other images are large and the object is also large meaning that fitting at native resolution is wasteful. In these cases it would be nice to be able to downsample the image and perform fitting within AutoProf

Describe the solution you'd like Possibilities:

It would also be nice to be able to change the sampling with time to have the optimization start at low resolution and finish at high resolution.

Describe alternatives you've considered windows already cut subsections of large images, but this doesnt work for large objects.

Additional context Could be a massive speedup

ConnorStoneAstro commented 10 months ago

This seems like more of a hack to speed up convergence. Something that would be relevant along these lines would be the ability to break up an image into sub-windows if it is too large.