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
Hi, I really like the existing plotting functions. The only thing is that I am looking for a way to export these "wavefront planes" as pure images without the matplotlib axes etc. So basically what you see hete below, but only what is contained inside the box. The thing is that a screenshot would not be sufficient as I would like to apply a certain manipulation to these raw outputs (which are not part of the library.)
In an ideal world I would like there to be an option where I can export as image (jpeg,png etc) with a certain amount of pixels in x and y and the respective pixel size in microns. (Basically having the raw output of a simulated image sensor)
Would somebody know a workaround or existing function for this? It would be extremely helpful.
The text was updated successfully, but these errors were encountered:
You could remove ax.set_xlabel and ax.set_title and try it out. If you change figsize you can change the resulting image size.
If you use my fork, you simply call it like that: F.save_plot(rgb, figsize = (16, 16), path = imagefile, tight = True)
It needed some changes to _init_.py and mono-/polychromatic-simulator.py so it works just like F.plot_colors.
Hi, I really like the existing plotting functions. The only thing is that I am looking for a way to export these "wavefront planes" as pure images without the matplotlib axes etc. So basically what you see hete below, but only what is contained inside the box. The thing is that a screenshot would not be sufficient as I would like to apply a certain manipulation to these raw outputs (which are not part of the library.)
In an ideal world I would like there to be an option where I can export as image (jpeg,png etc) with a certain amount of pixels in x and y and the respective pixel size in microns. (Basically having the raw output of a simulated image sensor)
Would somebody know a workaround or existing function for this? It would be extremely helpful.
The text was updated successfully, but these errors were encountered: