You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have applied the ShapeSolver to try and make a plot of the source-plane magnification in each Voronoi cell of a model-fit to a strong lens.
However, the Voronoi mesh magnification values are incorrect:
In the example above, magnification values of ~137 are inferred in random Voronoi source pixels quite far from the caustic. These values are too high to be realistic for a strong lens model, especially away from the caustic.
I have verified source pixel areas are correct, therefore I think the bug is that the image area is not being computed accurately.
This could be because additional triangles that fall outside the source Voronoi cell are being included in the area calculation incorrectly? Or maybe the source pixel is so small we need to account for the fraction of the area of image pixels that fall in the Voronoi cell?
The text was updated successfully, but these errors were encountered:
For reference, for the same lens Aris produced a magnification map using square pixels:
Obviously we shouldnt expect the exact same result, but we should basically get magnification values that peak up to 30ish and smoothly decrease away from the caustic.
I have applied the
ShapeSolver
to try and make a plot of the source-plane magnification in each Voronoi cell of a model-fit to a strong lens.However, the Voronoi mesh magnification values are incorrect:
In the example above, magnification values of ~137 are inferred in random Voronoi source pixels quite far from the caustic. These values are too high to be realistic for a strong lens model, especially away from the caustic.
The visual above used the following:
If I set
pixel_scale_precision=0.005
the magnification values all systematically increase, making the problem worse:Here is a standalone Python script which computes 5 magnification values for this lens model and Voronoi cell polygons:
The values printed for the third Voronoi cell are:
I have verified source pixel areas are correct, therefore I think the bug is that the image area is not being computed accurately.
This could be because additional triangles that fall outside the source Voronoi cell are being included in the area calculation incorrectly? Or maybe the source pixel is so small we need to account for the fraction of the area of image pixels that fall in the Voronoi cell?
The text was updated successfully, but these errors were encountered: