jmmelko

Results 20 comments of jmmelko

Actually all you have to do is to set the skip_non_songs option to False If the Song is not found, the result returned by the API will be None If...

I agree that support for a general Gaussian beam would be useful. Should not be difficult to implement: just add parameters and compute the right intensity/phase functions. In the very...

Ok, I’ll do that. I fail to grasp what would be the risk of changing the PlaneWave parameter: backward compatibility or misuse? It is already confusing as it is.

here is what I did in my code: ``` def Forward(Fin, z, sizenew, Nnew): return LightPipes.Forward(Fin=Fin, z=z, sizenew=sizenew, Nnew=Nnew) def Fresnel(Fin, z, sizenew, Nnew): return LightPipes.Fresnel(Fin=LightPipes.Interpol(Fin, sizenew, Nnew), z=z) def...

In most cases, a radial symmetry is enough. Especially with x_shift/y_shift=0 and tx/ty=0 A Hankel transform can be used to handle this case. Otherwise, there might be a way to...

I have written this, but it is ugly: ``` def AstigGaussBeam(Fin, wx, wy, x_shift=0, y_shift=0, tx=0, ty=0): if wx == wy: return LightPipes.GaussBeam(Fin=Fin, w0=wx, x_shift=x_shift, y_shift=y_shift, tx=tx, ty=ty) Ex =...

That’s great but I thought that only Forward, with a double-u, was exact, while Forvard and Fresnel were paraxial approximations. In any case I think that an automatic propagator is...

I am quite sure having tried without the “format best” option already. But I will try again tonight just to be sure, because your answer, Kikuyan, makes sense. Even so,...

OK, so : [X] the "bug" still happens without the "format -best" option In any case, I think that youtube-dl should write, at least in verbose mode, a warning stating...

What's more, when defining the parser in a module function, as follows: import argparse def parse_args(): parser = argparse.ArgumentParser() parser.add_argument('-f', action='store_true') parser.add_argument('--foo', action='store_true') parser.parse_args() and then setting sys.argv to: ['',...