Pol Febrer Calabozo
Pol Febrer Calabozo
Yes, that's for sure! If you have a sisl Grid in `grid`, as in your notebook, then you can do ```python import sisl.viz grid.plot(represent="deg_phase") # or rad_phase ``` But you...
Aaah ok so inelastica produces a `.Re` and a `.Im` grid. Looks good to me!
Yes! You need to get the isosurface vertices for the density and then find out what the phase is at those vertices.This code snippet should do it in plotly: ```python...
That looks great! It looks like a worm hahaha > The phase discontinuity going from +pi to -pi annoys me, but I do not see an easy way to fix...
Hahahah that looks beautiful indeed. That's what I was referring to, you need to then calculate the color of each face (triangle) which is not as straightforward as calculating the...
By the way, perhaps making the grid finer in the Z direction (before computing the phase) is a good patch to make the discontinuity less visible and therefore less annoying?...
> Excellent suggestion! Using a factor 20 along Z I now get this much more acceptable result: Nice! I would probably use cubic interpolation (`wf.interp(new_wf_shape, order=3)`) instead of linear so...
This is some nice tutorial material :)
Hmm I don't think so. Between two vertices, it seems to interpolate values, not colors. So it goes through the whole colorbar and even if it's symmetric you will see...
Try ```python html = net.generate_html(notebook=True) HTML(f'{html}', metadata={"isolated": True}, ) ``` I had the same problem, the CSS styling in the generated html is being applied to style the notebook. The...