fancompute / fdfdpy Goto Github PK
View Code? Open in Web Editor NEWPure Python implementation of the finite difference frequency domain (FDFD) method for electromagnetics
License: MIT License
Pure Python implementation of the finite difference frequency domain (FDFD) method for electromagnetics
License: MIT License
Would be cool if one could implement simple gui to move either structure objects or sources around on a screen.
When the object is placed, automatically refreshes the simulation.
Make Newton use line search to find next iteration point
Line 94 in 15bc317
After realizing that pyMKL can be installed with pip, I don't any reason to keep it as a submodule.
Normalize the modal source such that the resulting optical power is 1 Watt (units of L0)
Add argument for scaling the source strength upon construction. (rather than having to do simulation.src = 5*simulation.src
Add method to Fdfd
object to scan the frequency and compute the bandwidth of the objective function. (could go into optimization as well)
I attempted to run the python -m unittest test_nonlinear_solvers.py command and received the following error:
UnboundLocalError: local variable 'MKLlib' referenced before assignment
Are there any extra steps to be done?
(I installed this via "pip install fdfdpy")
Make some simple way to get the modal source profile (normalized) as an array without having to construct a new simulation object.
Perhaps this can be a method of the simulation class (so that the normalization and power scaling is the same)
Allow for Mx, My, Jz to be specified.
Mx and My will be converged into Jz components.
To me, there is no real cost to doing this automatically, and it simplifies the interface a bit. Open to other suggestions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.