GithubHelp home page GithubHelp logo

jsbangsund / oledpy Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 4.0 829 KB

Package for calculating common parameters for thin film light-emitting devices (LEDs), including light outcoupling efficiency using a classical dipole model

License: MIT License

Jupyter Notebook 84.80% Python 15.20%

oledpy's Introduction

oledpy

Package for calculating common parameters for thin film light-emitting devices (LEDs), including:

  1. light outcoupling efficiency based on a classical dipole emission model
  2. electric field profile within device, for optical pumping experiments
  3. Efficiency, color coordinates, and other common metrics

Note: outcoupling calculations are (currently) only valid for bottom-emitting geometries, where light emission occurs through the substrate. I have checked these calculations with literature reports and the commercial software, SETFOS, and find that the results reproduce all spectral features and trends (with thickness, index, etc.). Absolute comparisons of outcoupling efficiency generally agree within 1-2%.

Power dissipation spectra:

Calculating mode distributions with just a few lines of code:

Installation

I recommend using Anaconda to create an environment for this package, using the included oled.yml environment file. If you don't have Anaconda, I recommend installing Miniconda.

To build from an environment file (note that the name of the env is defined in the first line of oled.yml):

conda env create -f oled.yml

Once this environment is built, you can activate the environment using:

conda activate oled

Then you can install the oledpy package using python setup.py install. Make sure that you are in the directory of the package when you run this.

Another method is to call this command from the directory of the package:

pip install -e .

This uses a symlink, so that changes to the source files on your computer (either by manual edits or updating from github) will be immediately available within the package. This is convenient, as you won't need to re-install the package every time something is changed.

References:

  1. Furno, M.; Meerheim, R.; Hofmann, S.; Lüssem, B.; Leo, K. Efficiency and Rate of Spontaneous Emission in Organic Electroluminescent Devices. Phys. Rev. B 2012, 85 (11), 115205.

  2. Furno, M.; Meerheim, R.; Thomschke, M.; Hofmann, S.; Lüssem, B.; Leo, K. Outcoupling Efficiency in Small-Molecule OLEDs: From Theory to Experiment. In Proc. SPIE; 2010; Vol. 7617, p 761716.

  3. Neyts, K. A. Simulation of Light Emission from Thin-Film Microcavities. J. Opt. Soc. Am. A, JOSAA 1998, 15 (4), 962–971.

  4. Byrnes, Steven. Multilayer Optical Calculations, 2016. https://arxiv.org/abs/1603.02720, https://github.com/sbyrnes321/tmm

  5. Pettersson, Leif AA, Lucimara S. Roman, and Olle Inganäs. Modeling photocurrent action spectra of photovoltaic devices based on organic thin films. Journal of Applied Physics 86.1 (1999): 487-496.

  6. Kim, J., Kang, K., Kim, K. Y., & Kim, J. (2017). Origin of a sharp spectral peak near the critical angle in the spectral power density profile of top-emitting organic light-emitting diodes. Japanese Journal of Applied Physics, 57(1), 012101. https://iopscience.iop.org/article/10.7567/JJAP.57.012101/meta

  7. Salehi, A., Ho, S., Chen, Y., Peng, C., Yersin, H., and So, F. Highly Efficient Organic Light-Emitting Diode Using A Low Refractive Index Electron Transport Layer. Adv. Optical Mater. 2017, 5, 1700197 http://dx.doi.org/10.1002/adom.201700197

oledpy's People

Contributors

jsbangsund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

oledpy's Issues

Installing problem of the package "oledpy". Already Solved

Q: First it was installed in my Mac, I got back the error massage: picture 1 in the attachment. As seeing the"pywin32==233==...", I thought maybe I have to run it in Windows OS. Then I installed a virtual machine win10 in my Mac, and installed anaconda in the virtual machine. Unfortunately, another problem came out: picture 2 in the attachment. Searching on the Internet, I delete some documents in the oled.yml(add #, picture 3 in the attachment). I have no idea what problem will this deal cause. Sadly, after deleting all the packages which can not be resolved, I failed again, "Found conflicts! Looking for incompatible packages"(picture 4 in the attachment). I was puzzled what caused this problem.

I have little experience in anaconda and python, and this is my first time to installed a shared environment (first contact with .yml document). Could you help me install the package? I would be very appreciated!

1
2
3
4

A: Many of the packages in oled.yml are actually unnecessary to do the dipole emission calculations (they’re either used for other parts of oledpy or vestiges from previous versions of the code). You can run oledpy on a mac no problem. You could try just using the base installation of anaconda (which comes with numpy, matplotlib, pandas, etc.) and see if it works. Otherwise, you could also try using the attached oled.yml file (I removed all the unnecessary packages and version information). There's a small possibility that something won't work with this file because of slight version changes to the packages, but it should be fine.

The old.yml document was changed to:

`name: oled # for oled calculation and analysis
channels:

  • anaconda
  • defaults
  • conda-forge
    dependencies:
  • python=3.7
  • matplotlib
  • numpy
  • pandas
  • scipy
  • statsmodels
  • pip
  • tqdm
  • jupyter
  • ipykernel
  • pip:
    • tmm==0.1.7`

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.