GithubHelp home page GithubHelp logo

fibermodes's People

Contributors

cbrunet avatar

Stargazers

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

Watchers

 avatar  avatar

fibermodes's Issues

Move from PySide to PyQt

  • Because it seems PySide is almost abandoned
  • Because PyQt is included in anaconda and WinPython (but PySide is not)

It will allow to use Python 3.5 on Windows, and will ease the transition to PyQt5 (when available on Windows)

Save and restore simulation results

The SImulator should be able to save its state, and to restore it later. It would allow to continue from a previous simulation, without calculating everything again.

Layer boundaries plot when layers collapse

For instance, if a three-layer fiber becomes a two-layer fiber fiber at some point, plot of the layer boundaries becomes confused.

Proposed solution:

  • add a dict in fiber object to keep track of old layer index -> new layer index. This dict is built by the Factory when creating the fibers
  • add an optional argument to fiber functions to allow the use of original layer indexing

Provide install script

We should provide an install script for the API. That would simplify PYTHONPATH handling.

Caching framework

Actually, caching is performed, partly in Fiber and partly in Simulator objects. There should be a mechanism for caching computed values, separated from Fiber and Simulator classes. This would simplify Fiber and Simulator classes.

The cache object should be fast and efficient. It should be easy to share cached values among different processes or threads, and even across network.

Provide installation instructions

Installation instructions, for Linux, Windows, and Mac OS, should be provided in the Readme.md file. This should include required dependencies, etc.

Open file from command line

In modesolverapp.py and in fibereditorapp.py, allow to start with a given filename. This will allow the integration with to OS to start the simulator when double-clicking a .solver file.

Output window

Provide an output window to display warnings and errors. Redirect stderr and stdout to it. Allow to filter what is displayed. Allow to save output in a text file. Window is hidden by default. Show / hide from debug menu. Save output in a tmp file, to keep it in case of crash. Print file location in case of crash.

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.