Giter VIP home page Giter VIP logo

beampy's People

Contributors

python-simulation 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

Watchers

 avatar

beampy's Issues

Trouble Running Beampy.open_app() in a Python Environment

Description of the Issue:
I'm encountering an issue when trying to run the open_app() function from the Beampy library. After activating my virtual environment and attempting to execute the function via a Python shell in the terminal, it seems to prompt me for further input without opening the application GUI as expected.

Steps to Reproduce:

  1. Activated my virtual environment.

  2. Navigated to my project directory my_beampy_project.

  3. Ran a Python shell and executed the following commands:
    python import beampy beampy.open_app()

  4. Instead of opening the GUI, the shell prompted me with function>.

Expected Behavior:
I expected the open_app() function to launch the Beampy application's GUI.

Actual Behavior:
The shell prompts with function> after executing beampy.open_app(), and the GUI does not launch.

Environment:

  • OS: macOS (Big Sur 11.2.3)
  • Python Version: (Python 3.9.1)
  • Beampy Version: (v1.11)

Can I use beampy to calculate beam parameter with different optics

Dear Jonathan,

I tried using Beampy and It can used to describe beam profile with certain waveguide, like a fiber.
And I'm wondering if it can be used to simulate beam propagation after different optics.
For example, a laser beam of BPP = 2mm*mrad, Initial beam waist = 0.1mm, After length of 100mm, there's a len(f=150mm); then after 200mm, there's a lens(f=-100mm), etc.
What's the waist position and waist diameter after those optics. Can I use Beampy to simulate.
Thanks in advance.
Thank you for sharing Beampy.

Best regards.

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.