Comments (2)
(i guess this is the wrong repository; the sechfield function is filed under 'optictools')
To be clear, this function calculates the fwhm of the power profile (P proportional to |E|^2) of an electrical field with the shape
E(T) = sech( T/ T0)
the half-width-at-half-maximum (with respect to power) can be calculated from:
1/2 sech^2(T=0) = sech^2(T/T0)
<=>
1/sqrt(2) * sech( T=0) = sech(T/T0)
=1/sqrt(2) * 1 = sech(T/T0) = 1/cosh(T/T0)
<=> T/T0 = arcosh(sqrt(2)) = 0.8813735...
tau_fwhm = 2 * T = 2 * 0.881375 * T0
with the identities
arcosh(x) = ln ( x+sqrt(x^2-1)) and arcsinh = ln( x+sqrt(x^2+1))
you find tau_fwhm = 2 * arcsinh(1) * T0 = 2 * arcosh( sqrt(2) ) * T0 = 2 * arcsech( 1/ sqrt(2)) * T0
PS: have a look at https://en.wikipedia.org/wiki/Inverse_hyperbolic_function and
http://www.rp-photonics.com/sech2_shaped_pulses.html
from gnlse.
Point 1: Yes, wrong repository, thanks.
Point 2: Ok, I thought that it is the FWHM of the intensity, and not the power. In this case the current value is correct.
from gnlse.
Related Issues (2)
- Missing license HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnlse.