Code Monkey home page Code Monkey logo

rezonator2's People

Contributors

chunosov avatar dependabot[bot] avatar orion-project avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rezonator2's Issues

Brewster surface

First of all, this software is fantastic, thank you for providing this for free!

I am building a resonator with a Brewster surface in it. I would expect it to expand my beam in the Brewster axis and not in the other, however, it expands my beam in both.

image

Export of all caustic data

Is it possible to export the whole caustic data for further calculations like it is possible of segments of the caustif between optical elements.
image

Display issues on high resolution displays.

Has very bad scaling issues when using high DPI devices. Tried it on a 4k monitor laptop and no matter what windows 10 DPI scaling override I tried I couldn't get the issue fixed.

Feature request: Add z0, d0, M² to "Beam Parameters at Elements"

First off: thanks for this awesome tool!

Very often, I would like to find the beam waist diameter, beam waist distance and M² value of a laser beam behind a lens and maybe some further optics. In Rezonator, I would model this as a single-pass system and plot the multi-range caustic and manually read off the parameters. Alternatively, I can use the "Beam Parameters at Elements" feature, which returns the Ws, Rs, and Vs parameters, from which I can with some math derive w0, z0, and M².

I would highly appreciate if rezonator2 would display these 3 parameters directly in the Beam Data table.

Typos in some texts

In the function of the "stable map",the title of the left axis of the diagram is shown as (A+B)/2, when it should be (A+D)/2.

Restore Special Points feature

In v1 there was an additional panel in function windows showing some "special" values. E.g. for Caustic function it was showing the waist size and position. There is a user request to have this feature in v2 as well.

GRIN Calculator does not solve correctly in Linux build

The build for Linux can't solve against n2 correctly:

image

It is ok in other builds (Windows, mac OS) or even in dev linux builds made on newer OS (e.g. Ubuntu 22).
The release build has been made on Ubuntu 16 with gcc 5.4, both of which are quite old.

Simulating cavity with incoupling optics

Dear all,

I was wondering whether it would be possible to simulate a multipass heriot cell consisting of two curved focusing mirror, while the laser beam is coupled into this cavity via a telescope which is used to adjust the divergence and mode of the incoupling beam. So basically I have divergent laser beam, which is focused via a two lens telescope into a cavity comprising two curved mirrors.

Any idea whether this possible and if so, on how to do so?

Cheers,
Patrik

Beam size variation results change unexpectedly

Hello!

I think I found a bug.

If you make a simple resonator, add a thermal lens and try to simulate its effect on beam size, something goes wrong.

Starting with a simple resonator and plotting beam size at the thermal lens:
Bildschirm­foto 2024-04-09 um 08 37 51

So far looks ok.
However if we now change the original input of the focal length, I would expect that the beam size variation plot stays the same.

The MR caustic changes as expected but the beam size variation plot at the TL shouldn't change but it does.
Bildschirm­foto 2024-04-09 um 08 41 07

Looks like ReZonator somehow adds the original input and the plotting variable together?

Info:
Running on MacOS latest version 2.0.13-beta9

(Thanks for the great software BTW!)

Add plot legend

There were legends on plots in version 1 but they got lost in version 2

Show smallest waist and its position in "Beam Data"

Hi,

first of all thanks a lot for providing this really cool tool for free and even open source.

A nice feature would be if in the "Beam Data" table one could see the position and size of the smallest waist for the different segments of the beam. I need to mode-match a beam to a cavity, so I modeled the cavity to get the waist on the mirrors, and now I propagate the beam backwards out of the cavity to see the required shape of the beam I have to send in. Since I need to come in on the curved mirror, it acts as a lens and the position and size of the waist for the incoming beam is not equal to the eigenmode of the cavity. It would be cool if I could see the required position and size of the input beam waist in the "Beam Data" table.

Another feature I would find useful is checkboxes in the "Schema" table to quickly disable elements without having to delete them.

Greetings from Austria,
Gregor

filename incorrectly displayed in window title bar

Version: reZonator 2.0.11 beta7 (9.12.2022)
When opening a rezonator file named "w0=1.00_z0=0.00_M2=1.00.rez", the filename displayed in the titlebar is "w0=1", i.e., the filename is incorrectly truncated at the first period instead of the final period.

Negative Thermal Lens Instability

Using reZonator 2.0.10 beta6, creating a negative focal length thermal lens inside a SW cavity makes the cavity unstable.

I tried to plot the stability parameter as a function of thermal lens focal length from -1m to 1m and there was no stability parameter returned for negative values, where I think should have asymptotic behaviour around f=0 (see figure).

image

Gaussian apertures don't seem to work in RR or SW modes

Hi, i've been experinmenting with the gaussian aperture and gaussian aperture with lens elements, and i've noticed that reZonator returns nan values for beam parameters in Ring resonator and Linear resonator modes whenever the a2 value is nonzero (the ABCD matrix is complex). It still shows that the resonator is stable. The elements seem to work ok in SP mode.
Ring resonator
Standing wave

Beam size exhibits discontinuous jump at "tilted plane-parallel slab" boundaries

Hello,

the simple schema below yields a strange result. Beam size exhibits discontinuous jump at "tilted plane-parallel slab" boundaries. This happens only for T-polarization. Discontinuity disappears if tilt is set to 0° or if refractive index is set to 1, so it seems it is connected to refraction.

If I overlooked some basic physics, please excuse me for submitting a non-existing issue.

Best regards.

2023_11_03_Git Issue Report

Wrong RTM calculation

I do have following scheme with calculated RTM as shown in screenshot.
Zrzut ekranu 2020-03-5 o 23 22 37

But, if I calculate it manually (both python and by hand) I get

RTM = [ [ 0.6021979   0.19890113]
        [-1.999999    1.0000004 ]
]

which is different. I use ABCD (given by reZonator) for each individual component and get same result.

Resonator mirror assuming vacuum environment?

Hello,

I think I found a bug: beam size at resonator mirrors is calculated as if mirrors are surrounded by vacuum even though I specified that they are surrounded by a medium with refractive index n.

Please see the attached screenshot. My resonator is very simple, it consists of a laser rod with mirrors coated on its end surfaces. When beam size at rod's end surfaces is calculated, it returns the correct result (wavelength inside the rod material is used in the formula). When beam size is calculated at mirror surface, it returns wrong result (wavelength in vacuum is used in the formula even though mirrors are "immersed" in rod material). Beam size at rod surface and at mirror surface should match, because this is the same surface. But in the attached example, they do not match, beam size is discontinuous.

If I somehow set-up my schema wrong, please correct me and excuse me for false alarm.

Best regards.

2021_04_06_bug report

Matrix product

Hi,

when calculating the forward/ backward matrix of some elemente, I see a not expected behaviour:
For the same elements I would expect the inverse matrix:
image

That is not the case for the sign of the values as you can see here:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.