GithubHelp home page GithubHelp logo

Comments (2)

ilent2 avatar ilent2 commented on July 17, 2024

Hi,

The code should work fine for different non-absorbing external media, you just need to supply the light wavelength and refractive index of the medium for the T-matrix calculation. The code should also give reasonable estimates for the force in weakly absorbing media, but the medium refractive index supplied to the functions needs to be a real number.

However, for water between 580nm and 1064nm, I'm not sure if you will see a difference in the results since the difference is fairly small and might be less than the calculation error (depending on the shape you are calculating the T-matrix for).

Best,
Isaac

from ott.

wj2392907320 avatar wj2392907320 commented on July 17, 2024

Dear Dr. Lenton
As you said, the difference is small. I investigated the refractive index of water against different wavelengths, and obtained that the refractive index of water is 1.334 at 580nm and 1.325 at 1060nm. The simulation results are shown in the figure below. The wavelength used is 1064, NA=1.2, and the diameter of the microsphere is 2 microns.
image

Best wishes
Wang jing

from ott.

Related Issues (20)

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.