question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plot of the caustics

See original GitHub issue

Hi,

I have this weird bug when turning to the True the option with_caustics in Plots.model_band_plot.ModelPlot.source_plot :

image

Am I the only one observing this after upgrading to the latest lenstronomy version? It seems that the points are not linked in the correct order by matplotlib.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
martin-milloncommented, Jan 7, 2022

Thanks, Simon. Problem solved.

0reactions
sibirrercommented, Jan 7, 2022

ah I see, I have update the lens_plot routines but not the ModelBandPlot() classes. I just pushed and update changing the default to the fast caustic calculation and if you initialize the class with fast_caustic=False, it uses the slower version but with the better plotting settings

Read more comments on GitHub >

github_iconTop Results From Across the Web

Caustic (optics) - Wikipedia
The caustic is a curve or surface to which each of the light rays is tangent, defining a boundary of an envelope of...
Read more >
-Light arcs and folding light due to caustic formation. In(a) the ...
In(a) the plot of the caustic obtained from the folded wavefront (b) due to the glass cylinder. Each side of this caustic (y1...
Read more >
Caustic Curves and the Optics of Rays | Galileo Unbound
Snorkeling above a shallow reef on a clear sunny day transports you to an otherworldly galaxy of spectacular deep colors and light ......
Read more >
MulensModel.caustics module - GitHub Pages
Plots the caustics using matplotlib.pyplot.scatter() . Parameters : n_points: int, optional. The number of points to calculate along the caustic.
Read more >
Caustic - Apex Legends Wiki - Fandom
But the head of Humbert Labs soon discovered his gruesome experiments, and their confrontation ended with the lab in flames. Now, competing under...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found