Fitting a warp models errors #191
-
Hello, Here are my steps:
Error
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
@dan-adi looks like you've done everything right here. There is a bug in how the parameter limits are treated for parameters like the warp that arent scalars. Not sure how this got through my tests, but its an easy fix. I'll update AstroPhot with a patch today :) |
Beta Was this translation helpful? Give feedback.
-
Also @dan-adi about computing the variance. This is often passed from the data reduction pipeline. In a single frame which is converted to units of counts is actually its own variance map (since for a Poisson distribution the variance and mean are the same). When a data reduction pipeline corrects for vignetting, darks, flats, hot pixels, and does drizzle/stacking, it usually tracks the variance through all those processes and returns a "Weight map". You can actually pass a weight map to an AstroPhot Target_Image objects just as |
Beta Was this translation helpful? Give feedback.
-
Hi @dan-adi I have just pushed the patch to fix this bug, check out |
Beta Was this translation helpful? Give feedback.
Hi @dan-adi I have just pushed the patch to fix this bug, check out
v0.16.4
. Thanks for bringing it to my attention! Stuff like this makes the code way better as we root out all the bugs :)