camfr-users Mailing List for CAMFR
Brought to you by:
pbienst
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
(8) |
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
|
Feb
|
Mar
(3) |
Apr
(2) |
May
(13) |
Jun
(8) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
(5) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
(2) |
Dec
|
| 2005 |
Jan
|
Feb
(2) |
Mar
(7) |
Apr
|
May
(2) |
Jun
|
Jul
(10) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(4) |
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(4) |
| 2007 |
Jan
(5) |
Feb
(5) |
Mar
(2) |
Apr
(12) |
May
(2) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(24) |
Dec
(2) |
| 2008 |
Jan
(2) |
Feb
(23) |
Mar
(7) |
Apr
(15) |
May
(14) |
Jun
(48) |
Jul
(24) |
Aug
(17) |
Sep
(19) |
Oct
(6) |
Nov
(10) |
Dec
(5) |
| 2009 |
Jan
(6) |
Feb
(26) |
Mar
(28) |
Apr
(11) |
May
(2) |
Jun
(12) |
Jul
(21) |
Aug
(6) |
Sep
(21) |
Oct
(22) |
Nov
(16) |
Dec
(4) |
| 2010 |
Jan
(4) |
Feb
(4) |
Mar
(2) |
Apr
(2) |
May
|
Jun
(8) |
Jul
(5) |
Aug
|
Sep
(2) |
Oct
(6) |
Nov
(11) |
Dec
(19) |
| 2011 |
Jan
(11) |
Feb
(6) |
Mar
(4) |
Apr
(2) |
May
(4) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(2) |
Dec
(3) |
| 2012 |
Jan
(3) |
Feb
(13) |
Mar
|
Apr
(7) |
May
(2) |
Jun
(5) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(4) |
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(11) |
Jul
(23) |
Aug
(6) |
Sep
|
Oct
(4) |
Nov
|
Dec
(5) |
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2022 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Peter B. (UGent-imec) <Pet...@UG...> - 2022-01-11 07:49:31
|
Hi Amina, I’m afraid this is no longer being worked on… Peter From: amina nezzar <min...@gm...> Sent: 10 January 2022 18:24 To: cam...@li... Subject: Re: [Camfr-users] Problem CAMFR Hello Peter, I appreciate you having time to respond to my email. Thank you! Regarding the experimental code. Is it stable, and is it going to be general availability? What can I do to get a copy of it? Best regards Amina. Le lun. 10 janv. 2022 à 11:37, Peter Bienstman (UGent-imec) via Camfr-users <cam...@li...<mailto:cam...@li...>> a écrit : The same answer applies: the public version of camfr is not well suited for metal layers… Peter From: amina nezzar <min...@gm...<mailto:min...@gm...>> Sent: 10 January 2022 11:18 To: cam...@li...<mailto:cam...@li...> Subject: Re: [Camfr-users] Problem CAMFR Hello Peter, thank you, Sorry to disturb you again, and I have some new questions. 1) I’m trying to measure the reflection coefficient of a slab waveguide but using multiple gold layers. (e.g., layer on top, bottom, and the right side of the waveguide core) My code is as below: set_lambda(1.55) set_N(20) set_polarisation(TE) set_solver(track) set_precision(100) set_precision_rad(1000) set_precision_enhancement(500) set_stability(SVD) set_solver(series) set_mode_surplus(3) # Defining the waveguide sections set_lower_PML(-0.1) set_upper_PML(-0.1) Guide = Slab (Gaine (30) + Core (9) + Gaine (30)) guide = Slab (cla (30)+ Au (3.4)+ Core (2.2)+ Au (3.4)+ cla (30)) Gold = Slab (Au (60)) stack = Stack (Guide (0)+ guide (L)+ Gold (0.2)) The code is returning a result, but I think there’s an issue with this result. The reflection coefficient is always greater than one. I thought of using large vs. small mode values, but I’m getting the same result. Can you help me figure out what’s impacting the outcome? 2) Is it possible to use more than one gold layer? 3) The above code is returning “Mueller solver failed to converge for” . Is that warning, and is there a way to fix that? 4) Is it possible to obtain a mode spectrum using CAMFR? Your help is greatly appreciated. Thank you! Amina ---------- Forwarded message --------- From: Peter Bienstman (UGent-imec) via Camfr-users <cam...@li...<mailto:cam...@li...>> Date: lun. 10 janv. 2022 à 10:03 Subject: Re: [Camfr-users] Problem CAMFR To: cam...@li...<mailto:cam...@li...> <cam...@li...<mailto:cam...@li...>> Cc: Peter Bienstman (UGent-imec) <Pet...@ug...<mailto:Pet...@ug...>> Hi Amina, Metal layers are tricky. We had some experimental code to improve plasmonics, but it was never fully publicly released… Cheers, Peter From: amina nezzar <min...@gm...<mailto:min...@gm...>> Sent: 23 December 2021 20:22 To: cam...@li...<mailto:cam...@li...> Subject: [Camfr-users] Problem CAMFR Thank you for your time in reading my email. I am reaching out to you hoping you can help me with two issues with CAMFR. Hello Peter, I'm trying to calculate the reflection coefficient of a slab waveguide. Note: I'm using gold as a reflective mirror. The code works properly, but I have two problems: 1) I'm getting an error message for some of the iterations. didn't find enough modes (22/34) [(Set_N(34)) è R<1] 2) The reflection coefficient is much greater than one when I attempt to use a larger number of modes (e.g. 100). Note: I reviewed the tips on the manual document on page 55. I'm unable to find a way to overcome the above two issues. I appreciate your help. Kindest Regards, Amina. _______________________________________________ Camfr-users mailing list Cam...@li...<mailto:Cam...@li...> https://lists.sourceforge.net/lists/listinfo/camfr-users _______________________________________________ Camfr-users mailing list Cam...@li...<mailto:Cam...@li...> https://lists.sourceforge.net/lists/listinfo/camfr-users |
|
From: amina n. <min...@gm...> - 2022-01-10 17:25:15
|
Hello Peter, I appreciate you having time to respond to my email. Thank you! Regarding the experimental code. Is it stable, and is it going to be general availability? What can I do to get a copy of it? Best regards Amina. Le lun. 10 janv. 2022 à 11:37, Peter Bienstman (UGent-imec) via Camfr-users <cam...@li...> a écrit : > The same answer applies: the public version of camfr is not well suited > for metal layers… > > > > Peter > > > > *From:* amina nezzar <min...@gm...> > *Sent:* 10 January 2022 11:18 > *To:* cam...@li... > *Subject:* Re: [Camfr-users] Problem CAMFR > > > > Hello Peter, > > thank you, > > Sorry to disturb you again, and I have some new questions. > > 1) I’m trying to measure the reflection coefficient of a slab waveguide > but using multiple gold layers. (e.g., layer on top, bottom, and the right > side of the waveguide core) > > > > My code is as below: > > set_lambda(1.55) > > set_N(20) > > set_polarisation(TE) > > set_solver(track) > > set_precision(100) > > set_precision_rad(1000) > > set_precision_enhancement(500) > > set_stability(SVD) > > set_solver(series) > > set_mode_surplus(3) > > # Defining the waveguide sections > > set_lower_PML(-0.1) > > set_upper_PML(-0.1) > > Guide = Slab (Gaine (30) + Core (9) + Gaine (30)) > > guide = Slab (cla (30)+ Au (3.4)+ Core (2.2)+ Au (3.4)+ cla (30)) > > Gold = Slab (Au (60)) > > stack = Stack (Guide (0)+ guide (L)+ Gold (0.2)) > > > The code is returning a result, but I think there’s an issue with this > result. The reflection coefficient is always greater than one. > > I thought of using large vs. small mode values, but I’m getting the same > result. Can you help me figure out what’s impacting the outcome? > > > > 2) Is it possible to use more than one gold layer? > > 3) The above code is returning “Mueller solver failed to converge for” > . Is that warning, and is there a way to fix that? > > 4) Is it possible to obtain a mode spectrum using CAMFR? > > > > Your help is greatly appreciated. > > Thank you! > > Amina > > > > > > ---------- Forwarded message --------- > From: *Peter Bienstman (UGent-imec) via Camfr-users* < > cam...@li...> > Date: lun. 10 janv. 2022 à 10:03 > Subject: Re: [Camfr-users] Problem CAMFR > To: cam...@li... <cam...@li...> > Cc: Peter Bienstman (UGent-imec) <Pet...@ug...> > > > > Hi Amina, > > > > Metal layers are tricky. We had some experimental code to improve > plasmonics, but it was never fully publicly released… > > > > Cheers, > > > > Peter > > > > *From:* amina nezzar <min...@gm...> > *Sent:* 23 December 2021 20:22 > *To:* cam...@li... > *Subject:* [Camfr-users] Problem CAMFR > > > > > Thank you for your time in reading my email. I am reaching out to you > hoping you can help me with two issues with CAMFR. > > Hello Peter, > > I'm trying to calculate the reflection coefficient of a slab waveguide. > Note: I'm using gold as a reflective mirror. > > The code works properly, but I have two problems: > > 1) I'm getting an error message for some of the iterations. > didn't find enough modes (22/34) [(Set_N(34)) è R<1] > > 2) The reflection coefficient is much greater than one when I attempt to > use a larger number of modes (e.g. 100). > > Note: I reviewed the tips on the manual document on page 55. I'm unable to > find a way to overcome the above two issues. > > I appreciate your help. > > Kindest Regards, > Amina. > > _______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users > _______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users > |
|
From: Peter B. (UGent-imec) <Pet...@UG...> - 2022-01-10 10:37:05
|
The same answer applies: the public version of camfr is not well suited for metal layers… Peter From: amina nezzar <min...@gm...> Sent: 10 January 2022 11:18 To: cam...@li... Subject: Re: [Camfr-users] Problem CAMFR Hello Peter, thank you, Sorry to disturb you again, and I have some new questions. 1) I’m trying to measure the reflection coefficient of a slab waveguide but using multiple gold layers. (e.g., layer on top, bottom, and the right side of the waveguide core) My code is as below: set_lambda(1.55) set_N(20) set_polarisation(TE) set_solver(track) set_precision(100) set_precision_rad(1000) set_precision_enhancement(500) set_stability(SVD) set_solver(series) set_mode_surplus(3) # Defining the waveguide sections set_lower_PML(-0.1) set_upper_PML(-0.1) Guide = Slab (Gaine (30) + Core (9) + Gaine (30)) guide = Slab (cla (30)+ Au (3.4)+ Core (2.2)+ Au (3.4)+ cla (30)) Gold = Slab (Au (60)) stack = Stack (Guide (0)+ guide (L)+ Gold (0.2)) The code is returning a result, but I think there’s an issue with this result. The reflection coefficient is always greater than one. I thought of using large vs. small mode values, but I’m getting the same result. Can you help me figure out what’s impacting the outcome? 2) Is it possible to use more than one gold layer? 3) The above code is returning “Mueller solver failed to converge for” . Is that warning, and is there a way to fix that? 4) Is it possible to obtain a mode spectrum using CAMFR? Your help is greatly appreciated. Thank you! Amina ---------- Forwarded message --------- From: Peter Bienstman (UGent-imec) via Camfr-users <cam...@li...<mailto:cam...@li...>> Date: lun. 10 janv. 2022 à 10:03 Subject: Re: [Camfr-users] Problem CAMFR To: cam...@li...<mailto:cam...@li...> <cam...@li...<mailto:cam...@li...>> Cc: Peter Bienstman (UGent-imec) <Pet...@ug...<mailto:Pet...@ug...>> Hi Amina, Metal layers are tricky. We had some experimental code to improve plasmonics, but it was never fully publicly released… Cheers, Peter From: amina nezzar <min...@gm...<mailto:min...@gm...>> Sent: 23 December 2021 20:22 To: cam...@li...<mailto:cam...@li...> Subject: [Camfr-users] Problem CAMFR Thank you for your time in reading my email. I am reaching out to you hoping you can help me with two issues with CAMFR. Hello Peter, I'm trying to calculate the reflection coefficient of a slab waveguide. Note: I'm using gold as a reflective mirror. The code works properly, but I have two problems: 1) I'm getting an error message for some of the iterations. didn't find enough modes (22/34) [(Set_N(34)) è R<1] 2) The reflection coefficient is much greater than one when I attempt to use a larger number of modes (e.g. 100). Note: I reviewed the tips on the manual document on page 55. I'm unable to find a way to overcome the above two issues. I appreciate your help. Kindest Regards, Amina. _______________________________________________ Camfr-users mailing list Cam...@li...<mailto:Cam...@li...> https://lists.sourceforge.net/lists/listinfo/camfr-users |
|
From: amina n. <min...@gm...> - 2022-01-10 10:18:30
|
Hello Peter, thank you, Sorry to disturb you again, and I have some new questions. 1) I’m trying to measure the reflection coefficient of a slab waveguide but using multiple gold layers. (e.g., layer on top, bottom, and the right side of the waveguide core) My code is as below: set_lambda(1.55) set_N(20) set_polarisation(TE) set_solver(track) set_precision(100) set_precision_rad(1000) set_precision_enhancement(500) set_stability(SVD) set_solver(series) set_mode_surplus(3) # Defining the waveguide sections set_lower_PML(-0.1) set_upper_PML(-0.1) Guide = Slab (Gaine (30) + Core (9) + Gaine (30)) guide = Slab (cla (30)+ Au (3.4)+ Core (2.2)+ Au (3.4)+ cla (30)) Gold = Slab (Au (60)) stack = Stack (Guide (0)+ guide (L)+ Gold (0.2)) The code is returning a result, but I think there’s an issue with this result. The reflection coefficient is always greater than one. I thought of using large vs. small mode values, but I’m getting the same result. Can you help me figure out what’s impacting the outcome? 2) Is it possible to use more than one gold layer? 3) The above code is returning “Mueller solver failed to converge for” . Is that warning, and is there a way to fix that? 4) Is it possible to obtain a mode spectrum using CAMFR? Your help is greatly appreciated. Thank you! Amina ---------- Forwarded message --------- From: Peter Bienstman (UGent-imec) via Camfr-users < cam...@li...> Date: lun. 10 janv. 2022 à 10:03 Subject: Re: [Camfr-users] Problem CAMFR To: cam...@li... <cam...@li...> Cc: Peter Bienstman (UGent-imec) <Pet...@ug...> Hi Amina, Metal layers are tricky. We had some experimental code to improve plasmonics, but it was never fully publicly released… Cheers, Peter *From:* amina nezzar <min...@gm...> *Sent:* 23 December 2021 20:22 *To:* cam...@li... *Subject:* [Camfr-users] Problem CAMFR Thank you for your time in reading my email. I am reaching out to you hoping you can help me with two issues with CAMFR. Hello Peter, I'm trying to calculate the reflection coefficient of a slab waveguide. Note: I'm using gold as a reflective mirror. The code works properly, but I have two problems: 1) I'm getting an error message for some of the iterations. didn't find enough modes (22/34) [(Set_N(34)) è R<1] 2) The reflection coefficient is much greater than one when I attempt to use a larger number of modes (e.g. 100). Note: I reviewed the tips on the manual document on page 55. I'm unable to find a way to overcome the above two issues. I appreciate your help. Kindest Regards, Amina. _______________________________________________ Camfr-users mailing list Cam...@li... https://lists.sourceforge.net/lists/listinfo/camfr-users |
|
From: Peter B. (UGent-imec) <Pet...@UG...> - 2022-01-10 09:03:20
|
Hi Amina, Metal layers are tricky. We had some experimental code to improve plasmonics, but it was never fully publicly released… Cheers, Peter From: amina nezzar <min...@gm...> Sent: 23 December 2021 20:22 To: cam...@li... Subject: [Camfr-users] Problem CAMFR Thank you for your time in reading my email. I am reaching out to you hoping you can help me with two issues with CAMFR. Hello Peter, I'm trying to calculate the reflection coefficient of a slab waveguide. Note: I'm using gold as a reflective mirror. The code works properly, but I have two problems: 1) I'm getting an error message for some of the iterations. didn't find enough modes (22/34) [(Set_N(34)) è R<1] 2) The reflection coefficient is much greater than one when I attempt to use a larger number of modes (e.g. 100). Note: I reviewed the tips on the manual document on page 55. I'm unable to find a way to overcome the above two issues. I appreciate your help. Kindest Regards, Amina. |
|
From: amina n. <min...@gm...> - 2021-12-23 19:22:36
|
Thank you for your time in reading my email. I am reaching out to you hoping you can help me with two issues with CAMFR. Hello Peter, I'm trying to calculate the reflection coefficient of a slab waveguide. Note: I'm using gold as a reflective mirror. The code works properly, but I have two problems: 1) I'm getting an error message for some of the iterations. didn't find enough modes (22/34) [(Set_N(34)) è R<1] 2) The reflection coefficient is much greater than one when I attempt to use a larger number of modes (e.g. 100). Note: I reviewed the tips on the manual document on page 55. I'm unable to find a way to overcome the above two issues. I appreciate your help. Kindest Regards, Amina. |
|
From: Peter B. <Pet...@UG...> - 2017-07-24 08:22:49
|
Sorry for the late reply, I was on holiday. I attach an example script using the beta solver, but I’m afraid that beyond that I’m unable to give more support. You can also find a bit more information in the following thesis: http://photonics.intec.ugent.be/publications/PhD.asp?ID=165 Cheers, Peter From: Nino Castiglia [mailto:ac....@gm...] Sent: 13 July 2017 09:39 To: cam...@li... Subject: Re: [Camfr-users] Writing Slab characteristics to output file Thanks a lot for your feedback Peter, I'll try to do some script coding on my side. I have another question regarding metallic layers. I remember CAMFR having issues in simulating slabs with absorbing metal layers in it, but I also remember reading somewhere in the mailing list about a new solver which may help in dealing with such structures. Is the solver implemented in CAMFR or was it some beta you where testing internally? Thanks again, Nino On 8 June 2017 at 09:59, Peter Bienstman <Pet...@ug...<mailto:Pet...@ug...>> wrote: Hi, I’m afraid there’s no built-in code to do this, so your solution is fine. Cheers, Peter From: Nino Castiglia [mailto:ac....@gm...<mailto:ac....@gm...>] Sent: 08 June 2017 09:26 To: cam...@li...<mailto:cam...@li...> Subject: [Camfr-users] Writing Slab characteristics to output file Hi Peter, I'm trying to write the basic attributes of a defined slab into an output file. The code looks more or less like this: example = Slab( Material1 (thickness1) + Material2 (thickness2) + Material3 (thickness3) + ....) # define resolution resoultion = a suitable value elements = int(floor(example.width() / resolution)) # x array position = zeros (elements) # Refractive index array index = zeros (elements) r_x = 0 for k in range (elements): position[k] = r_x index[k] = example.n(Coord(r_x,0,0)).real r_x = r_x + resolution # Save the coordinate, the refractive index outfile = file("index profile.txt",'w') print >> outfile, "position\t", "index\t" for i in range( elements): print >> outfile, position[i], "\t", index[i], "\t" outfile.close() The code works properly but I would like to make it simpler. So I was wondering if there is a way to output directly the Slab attributes in terms of material refractive index and layer widths (instead of position) without the need to define a resolution and go through a long for loop. Thanks in advance, Nino ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Camfr-users mailing list Cam...@li...<mailto:Cam...@li...> https://lists.sourceforge.net/lists/listinfo/camfr-users |
|
From: Nino C. <ac....@gm...> - 2017-07-13 07:39:13
|
Thanks a lot for your feedback Peter,
I'll try to do some script coding on my side.
I have another question regarding metallic layers. I remember CAMFR having
issues in simulating slabs with absorbing metal layers in it, but I also
remember reading somewhere in the mailing list about a new solver which may
help in dealing with such structures. Is the solver implemented in CAMFR or
was it some beta you where testing internally?
Thanks again,
Nino
On 8 June 2017 at 09:59, Peter Bienstman <Pet...@ug...> wrote:
> Hi,
>
>
>
> I’m afraid there’s no built-in code to do this, so your solution is fine.
>
>
>
> Cheers,
>
>
>
> Peter
>
>
>
> *From:* Nino Castiglia [mailto:ac....@gm...]
> *Sent:* 08 June 2017 09:26
> *To:* cam...@li...
> *Subject:* [Camfr-users] Writing Slab characteristics to output file
>
>
>
> Hi Peter,
>
> I'm trying to write the basic attributes of a defined slab into an output
> file.
>
> The code looks more or less like this:
>
> example = Slab( Material1 (thickness1) + Material2 (thickness2) +
> Material3 (thickness3) + ....)
>
> # define resolution
> resoultion = a suitable value
> elements = int(floor(example.width() / resolution))
>
> # x array
> position = zeros (elements)
>
> # Refractive index array
> index = zeros (elements)
>
> r_x = 0
> for k in range (elements):
> position[k] = r_x
> index[k] = example.n(Coord(r_x,0,0)).real
> r_x = r_x + resolution
>
> # Save the coordinate, the refractive index
>
> outfile = file("index profile.txt",'w')
> print >> outfile, "position\t", "index\t"
>
> for i in range( elements):
> print >> outfile, position[i], "\t", index[i], "\t"
> outfile.close()
>
> The code works properly but I would like to make it simpler. So I was
> wondering if there is a way to output directly the Slab attributes in terms
> of material refractive index and layer widths (instead of position) without
> the need to define a resolution and go through a long for loop.
>
> Thanks in advance,
>
> Nino
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Camfr-users mailing list
> Cam...@li...
> https://lists.sourceforge.net/lists/listinfo/camfr-users
>
>
|
|
From: Peter B. <Pet...@UG...> - 2017-06-08 08:01:36
|
Hi,
I’m afraid there’s no built-in code to do this, so your solution is fine.
Cheers,
Peter
From: Nino Castiglia [mailto:ac....@gm...]
Sent: 08 June 2017 09:26
To: cam...@li...
Subject: [Camfr-users] Writing Slab characteristics to output file
Hi Peter,
I'm trying to write the basic attributes of a defined slab into an output file.
The code looks more or less like this:
example = Slab( Material1 (thickness1) + Material2 (thickness2) + Material3 (thickness3) + ....)
# define resolution
resoultion = a suitable value
elements = int(floor(example.width() / resolution))
# x array
position = zeros (elements)
# Refractive index array
index = zeros (elements)
r_x = 0
for k in range (elements):
position[k] = r_x
index[k] = example.n(Coord(r_x,0,0)).real
r_x = r_x + resolution
# Save the coordinate, the refractive index
outfile = file("index profile.txt",'w')
print >> outfile, "position\t", "index\t"
for i in range( elements):
print >> outfile, position[i], "\t", index[i], "\t"
outfile.close()
The code works properly but I would like to make it simpler. So I was wondering if there is a way to output directly the Slab attributes in terms of material refractive index and layer widths (instead of position) without the need to define a resolution and go through a long for loop.
Thanks in advance,
Nino
|
|
From: Nino C. <ac....@gm...> - 2017-06-08 07:26:23
|
Hi Peter,
I'm trying to write the basic attributes of a defined slab into an output
file.
The code looks more or less like this:
example = Slab( Material1 (thickness1) + Material2 (thickness2) + Material3
(thickness3) + ....)
# define resolution
resoultion = a suitable value
elements = int(floor(example.width() / resolution))
# x array
position = zeros (elements)
# Refractive index array
index = zeros (elements)
r_x = 0
for k in range (elements):
position[k] = r_x
index[k] = example.n(Coord(r_x,0,0)).real
r_x = r_x + resolution
# Save the coordinate, the refractive index
outfile = file("index profile.txt",'w')
print >> outfile, "position\t", "index\t"
for i in range( elements):
print >> outfile, position[i], "\t", index[i], "\t"
outfile.close()
The code works properly but I would like to make it simpler. So I was
wondering if there is a way to output directly the Slab attributes in terms
of material refractive index and layer widths (instead of position) without
the need to define a resolution and go through a long for loop.
Thanks in advance,
Nino
|
|
From: <www...@h2...> - 2017-03-01 09:26:30
|
Dear Customer, Your parcel was successfully delivered February 25 to UPS Station, but our courier cound not contact you. Please check the attachment for details! Thank you, Wallace Boone, UPS Chief Station Manager. |
|
From: Peter B. <Pet...@UG...> - 2015-08-04 15:33:19
|
(Replying off list for privacy reasons)
From: Jérémie Gagnon-Bischoff [mailto:jga...@uo...]
Sent: 04 August 2015 17:25
To: cam...@li...
Subject: Re: [Camfr-users] (no subject)
Hi Peter,
I tried to find Mr. Taillaert's current email adress, but all the ones I found are not functioning anymore. Do you know where he works now or how I could contact him?
Thanks,
Jeremie Gagnon-Bischoff
On Thu, Jul 30, 2015 at 3:13 AM, Peter Bienstman <Pet...@ug... <mailto:Pet...@ug...> > wrote:
Hi,
I did not write this code, and it’s at first glance not immediately obvious where the angle is defined. Dirk also no longer works here, I’m afraid…
Cheers,
Peter
From: Jérémie Gagnon-Bischoff [mailto:jga...@uo... <mailto:jga...@uo...> ]
Sent: 29 July 2015 22:18
To: cam...@li... <mailto:cam...@li...>
Subject: [Camfr-users] (no subject)
Hi everyone,
I am trying to do simulations on a grating coupler, for the coupling form a waveguide to a fiber. However, I want to be able to change the angle of the fiber. I have read Dirk Taillert's PhD thesis, in which he includes a script of this situation with an angle of 8 degrees. However, I don't know which parameter includes the angle (for the calculation of the coupling efficiency).
I assumed that it could be this one (red):
for z in arange(0.01, 1.15*tot, 0.01):
powerup+= 0.01*stack.field(Coord(x,0,z)).E2()*conjugate(stack.field(Coord(x,0,z)).Hz()) #0.01*poynting vector
overlapint+= 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2))
soverlapint+= 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2))*exp(0.85*1j*z)
coupling= ((abs(overlapint))**2)/(pfib*powerup.real)
scoupling=((abs(soverlapint))**2)/(pfib*powerup.real)
Am I mistaken? And if not, what is the calculation that links the angle to the value of this parameter?
Best regards,
Jeremie Gagnon-Bischoff
------------------------------------------------------------------------------
_______________________________________________
Camfr-users mailing list
Cam...@li... <mailto:Cam...@li...>
https://lists.sourceforge.net/lists/listinfo/camfr-users
|
|
From: Jérémie Gagnon-B. <jga...@uo...> - 2015-08-04 15:25:30
|
Hi Peter, I tried to find Mr. Taillaert's current email adress, but all the ones I found are not functioning anymore. Do you know where he works now or how I could contact him? Thanks, Jeremie Gagnon-Bischoff On Thu, Jul 30, 2015 at 3:13 AM, Peter Bienstman <Pet...@ug...> wrote: > Hi, > > > > I did not write this code, and it’s at first glance not immediately > obvious where the angle is defined. Dirk also no longer works here, I’m > afraid… > > > > Cheers, > > > > Peter > > > > *From:* Jérémie Gagnon-Bischoff [mailto:jga...@uo...] > *Sent:* 29 July 2015 22:18 > *To:* cam...@li... > *Subject:* [Camfr-users] (no subject) > > > > Hi everyone, > > > > I am trying to do simulations on a grating coupler, for the coupling form > a waveguide to a fiber. However, I want to be able to change the angle of > the fiber. I have read Dirk Taillert's PhD thesis, in which he includes a > script of this situation with an angle of 8 degrees. However, I don't know > which parameter includes the angle (for the calculation of the coupling > efficiency). > > > > I assumed that it could be this one (red): > > > > for z in arange(0.01, 1.15*tot, 0.01): > > powerup+= > 0.01*stack.field(Coord(x,0,z)).E2()*conjugate(stack.field(Coord(x,0,z)).Hz()) > #0.01*poynting vector > > overlapint+= > 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2)) > > soverlapint+= > 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2))*exp(0.85 > *1j*z) > > > > coupling= ((abs(overlapint))**2)/(pfib*powerup.real) > > scoupling=((abs(soverlapint))**2)/(pfib*powerup.real) > > > > Am I mistaken? And if not, what is the calculation that links the angle to > the value of this parameter? > > > > Best regards, > > Jeremie Gagnon-Bischoff > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users > > |
|
From: Jérémie Gagnon-B. <jga...@uo...> - 2015-07-30 15:05:35
|
Hi Peter, Thank you for having answered rapidly. I will try to contact Mr. Taillaert directly. Best regards, Jeremie Gagnon-Bischoff On Thu, Jul 30, 2015 at 3:13 AM, Peter Bienstman <Pet...@ug...> wrote: > Hi, > > > > I did not write this code, and it’s at first glance not immediately > obvious where the angle is defined. Dirk also no longer works here, I’m > afraid… > > > > Cheers, > > > > Peter > > > > *From:* Jérémie Gagnon-Bischoff [mailto:jga...@uo...] > *Sent:* 29 July 2015 22:18 > *To:* cam...@li... > *Subject:* [Camfr-users] (no subject) > > > > Hi everyone, > > > > I am trying to do simulations on a grating coupler, for the coupling form > a waveguide to a fiber. However, I want to be able to change the angle of > the fiber. I have read Dirk Taillert's PhD thesis, in which he includes a > script of this situation with an angle of 8 degrees. However, I don't know > which parameter includes the angle (for the calculation of the coupling > efficiency). > > > > I assumed that it could be this one (red): > > > > for z in arange(0.01, 1.15*tot, 0.01): > > powerup+= > 0.01*stack.field(Coord(x,0,z)).E2()*conjugate(stack.field(Coord(x,0,z)).Hz()) > #0.01*poynting vector > > overlapint+= > 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2)) > > soverlapint+= > 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2))*exp(0.85 > *1j*z) > > > > coupling= ((abs(overlapint))**2)/(pfib*powerup.real) > > scoupling=((abs(soverlapint))**2)/(pfib*powerup.real) > > > > Am I mistaken? And if not, what is the calculation that links the angle to > the value of this parameter? > > > > Best regards, > > Jeremie Gagnon-Bischoff > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users > > |
|
From: Peter B. <Pet...@UG...> - 2015-07-30 07:13:32
|
Hi,
I did not write this code, and it’s at first glance not immediately obvious where the angle is defined. Dirk also no longer works here, I’m afraid…
Cheers,
Peter
From: Jérémie Gagnon-Bischoff [mailto:jga...@uo...]
Sent: 29 July 2015 22:18
To: cam...@li...
Subject: [Camfr-users] (no subject)
Hi everyone,
I am trying to do simulations on a grating coupler, for the coupling form a waveguide to a fiber. However, I want to be able to change the angle of the fiber. I have read Dirk Taillert's PhD thesis, in which he includes a script of this situation with an angle of 8 degrees. However, I don't know which parameter includes the angle (for the calculation of the coupling efficiency).
I assumed that it could be this one (red):
for z in arange(0.01, 1.15*tot, 0.01):
powerup+= 0.01*stack.field(Coord(x,0,z)).E2()*conjugate(stack.field(Coord(x,0,z)).Hz()) #0.01*poynting vector
overlapint+= 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2))
soverlapint+= 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2))*exp(0.85*1j*z)
coupling= ((abs(overlapint))**2)/(pfib*powerup.real)
scoupling=((abs(soverlapint))**2)/(pfib*powerup.real)
Am I mistaken? And if not, what is the calculation that links the angle to the value of this parameter?
Best regards,
Jeremie Gagnon-Bischoff
|
|
From: Jérémie Gagnon-B. <jga...@uo...> - 2015-07-29 20:18:14
|
Hi everyone, I am trying to do simulations on a grating coupler, for the coupling form a waveguide to a fiber. However, I want to be able to change the angle of the fiber. I have read Dirk Taillert's PhD thesis, in which he includes a script of this situation with an angle of 8 degrees. However, I don't know which parameter includes the angle (for the calculation of the coupling efficiency). I assumed that it could be this one (red): for z in arange(0.01, 1.15*tot, 0.01): powerup+= 0.01*stack.field(Coord(x,0,z)).E2()*conjugate(stack.field(Coord(x,0,z)).Hz()) #0.01*poynting vector overlapint+= 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2)) soverlapint+= 0.01*stack.field(Coord(x,0,z)).E2()*nZ*exp(-(((align+z)/5.2)**2))*exp(0.85 *1j*z) coupling= ((abs(overlapint))**2)/(pfib*powerup.real) scoupling=((abs(soverlapint))**2)/(pfib*powerup.real) Am I mistaken? And if not, what is the calculation that links the angle to the value of this parameter? Best regards, Jeremie Gagnon-Bischoff |
|
From: <boy...@gm...> - 2013-12-02 15:02:58
|
Hello all, I tried this but as Peter said it's not recommended. In the end I found that running simulation inside a linux virtual machine, running on OSX, was the best course of action. Look at VMware Fusion for example. Dan On 2 Dec 2013, at 23:55, Oleksiy Onishchenko <ole...@gm...> wrote: > Oh… That's really unfortunate… > What would the possible options be? Is there any way I can get it to run on a Mac at all? Can I compile from source? > Thanks a lot! > Oleksiy > > > > 2013/12/2 Peter Bienstman <Pet...@ug...> > Hi, > > I'm afraid the OSX installer is no longer supported at the moment... > > Peter > > > -----Original Message----- > > From: Oleksiy Onishchenko [mailto:ole...@gm...] > > Sent: 02 December 2013 15:29 > > To: cam...@li... > > Subject: [Camfr-users] Problem with importing modules > > > > Hello Peter and CAMFR users, > > I have installed CAMFR and would like to start using it now, but I > encounter a > > problem. When I try to import the modules > > > > from camfr import * > > > > I get this message in my command line > > > > from camfr import * > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File > > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > > packages/PIL/__init__.py", line 8, in <module> > > # > > ImportError: > > dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 > > /site-packages/camfr/_camfr.so, 2): Library not loaded: > > /usr/local/gfortran/lib/libgfortran.3.dylib > > Referenced from: > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > > packages/camfr/_camfr.so > > Reason: no suitable image found. Did find: > > /usr/local/gfortran/lib/libgfortran.3.dylib: mach-o, but wrong > architecture > > /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture > > > > How can I solve this? I am using MacOsX 10.7.5 Lion Thanks a lot, Oleksiy > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk_______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users |
|
From: Peter B. <Pet...@UG...> - 2013-12-02 14:56:50
|
You can compile from source, but it's not for the faint of heart... I also don't have access to a Mac, so I will not be able to help you either... Peter > -----Original Message----- > From: Oleksiy Onishchenko [mailto:ole...@gm...] > Sent: 02 December 2013 15:55 > To: cam...@li... > Subject: Re: [Camfr-users] Problem with importing modules > > Oh. That's really unfortunate. > What would the possible options be? Is there any way I can get it to run on a > Mac at all? Can I compile from source? > Thanks a lot! > Oleksiy > > > > 2013/12/2 Peter Bienstman <Pet...@ug...> > > > Hi, > > I'm afraid the OSX installer is no longer supported at the moment... > > Peter > > > > -----Original Message----- > > From: Oleksiy Onishchenko [mailto:ole...@gm...] > > Sent: 02 December 2013 15:29 > > To: cam...@li... > > Subject: [Camfr-users] Problem with importing modules > > > > Hello Peter and CAMFR users, > > I have installed CAMFR and would like to start using it now, but I > encounter a > > problem. When I try to import the modules > > > > from camfr import * > > > > I get this message in my command line > > > > from camfr import * > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File > > > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > > packages/PIL/__init__.py", line 8, in <module> > > # > > ImportError: > > > dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 > > /site-packages/camfr/_camfr.so, 2): Library not loaded: > > /usr/local/gfortran/lib/libgfortran.3.dylib > > Referenced from: > > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > > packages/camfr/_camfr.so > > Reason: no suitable image found. Did find: > > /usr/local/gfortran/lib/libgfortran.3.dylib: mach-o, but wrong > architecture > > /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture > > > > How can I solve this? I am using MacOsX 10.7.5 Lion Thanks a lot, > Oleksiy > > > > > ---------------------------------------------------------------------------- -- > Rapidly troubleshoot problems before they affect your business. > Most IT > organizations don't have a clear picture of how application > performance > affects their revenue. With AppDynamics, you get 100% visibility into > your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140 > /ostg.clktrk > _______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users > > |
|
From: Oleksiy O. <ole...@gm...> - 2013-12-02 14:55:16
|
Oh… That's really unfortunate… What would the possible options be? Is there any way I can get it to run on a Mac at all? Can I compile from source? Thanks a lot! Oleksiy 2013/12/2 Peter Bienstman <Pet...@ug...> > Hi, > > I'm afraid the OSX installer is no longer supported at the moment... > > Peter > > > -----Original Message----- > > From: Oleksiy Onishchenko [mailto:ole...@gm...] > > Sent: 02 December 2013 15:29 > > To: cam...@li... > > Subject: [Camfr-users] Problem with importing modules > > > > Hello Peter and CAMFR users, > > I have installed CAMFR and would like to start using it now, but I > encounter a > > problem. When I try to import the modules > > > > from camfr import * > > > > I get this message in my command line > > > > from camfr import * > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File > > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > > packages/PIL/__init__.py", line 8, in <module> > > # > > ImportError: > > dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 > > /site-packages/camfr/_camfr.so, 2): Library not loaded: > > /usr/local/gfortran/lib/libgfortran.3.dylib > > Referenced from: > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > > packages/camfr/_camfr.so > > Reason: no suitable image found. Did find: > > /usr/local/gfortran/lib/libgfortran.3.dylib: mach-o, but wrong > architecture > > /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture > > > > How can I solve this? I am using MacOsX 10.7.5 Lion Thanks a lot, Oleksiy > > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users > |
|
From: Peter B. <Pet...@UG...> - 2013-12-02 14:49:04
|
Hi, I'm afraid the OSX installer is no longer supported at the moment... Peter > -----Original Message----- > From: Oleksiy Onishchenko [mailto:ole...@gm...] > Sent: 02 December 2013 15:29 > To: cam...@li... > Subject: [Camfr-users] Problem with importing modules > > Hello Peter and CAMFR users, > I have installed CAMFR and would like to start using it now, but I encounter a > problem. When I try to import the modules > > from camfr import * > > I get this message in my command line > > from camfr import * > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > packages/PIL/__init__.py", line 8, in <module> > # > ImportError: > dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 > /site-packages/camfr/_camfr.so, 2): Library not loaded: > /usr/local/gfortran/lib/libgfortran.3.dylib > Referenced from: > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > packages/camfr/_camfr.so > Reason: no suitable image found. Did find: > /usr/local/gfortran/lib/libgfortran.3.dylib: mach-o, but wrong architecture > /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture > > How can I solve this? I am using MacOsX 10.7.5 Lion Thanks a lot, Oleksiy |
|
From: Oleksiy O. <ole...@gm...> - 2013-12-02 14:29:30
|
Hello Peter and CAMFR users,
I have installed CAMFR and would like to start using it now, but I
encounter a problem. When I try to import the modules
from camfr import *
I get this message in my command line
from camfr import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PIL/__init__.py",
line 8, in <module>
#
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/camfr/_camfr.so,
2): Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib
Referenced from:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/camfr/_camfr.so
Reason: no suitable image found. Did find:
/usr/local/gfortran/lib/libgfortran.3.dylib: mach-o, but wrong architecture
/usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture
How can I solve this? I am using MacOsX 10.7.5 Lion
Thanks a lot,
Oleksiy
|
|
From: Peter B. <Pet...@UG...> - 2013-10-12 04:51:10
|
Hi, It's by scattering matrix. I never looked into the case of high azimuthal orders, so there might indeed be issues there. Cheers, Peter Andrea Armaroli <and...@un...> wrote: >Dear prof. Bienstaman, > > >as I cannot understand it clearly in your PhD thesis, how is the >cylindrical stack solved? By means of transfer matrix or scattering >matrix >or something else? In case of many layers, at high azimuthal order, the >transfer matrices may prove unstable. Do you agree with this point? And >if >a different method is employed, could you please provide a reference? > >Thank you for your help. > >Andrea. > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------------ >October Webinars: Code for Performance >Free Intel webinars can help you accelerate application performance. >Explore tips for MPI, OpenMP, advanced profiling, and more. Get the >most from >the latest Intel processors and coprocessors. See abstracts and >register > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > >------------------------------------------------------------------------ > >_______________________________________________ >Camfr-users mailing list >Cam...@li... >https://lists.sourceforge.net/lists/listinfo/camfr-users |
|
From: Andrea A. <and...@un...> - 2013-10-11 17:23:39
|
Dear prof. Bienstaman, as I cannot understand it clearly in your PhD thesis, how is the cylindrical stack solved? By means of transfer matrix or scattering matrix or something else? In case of many layers, at high azimuthal order, the transfer matrices may prove unstable. Do you agree with this point? And if a different method is employed, could you please provide a reference? Thank you for your help. Andrea. |
|
From: Peter B. <Pet...@UG...> - 2013-10-10 10:51:42
|
Hi Cristina, The tutorial is good place to start, but AWGs are to big to be monolithically modelled by camfr, so you typically need a higher level, hierachical model for that. Peter On 10/10/2013 11:40 AM, Cristina Fischer wrote: > Dear > > I would like help me to using camfr in my research arrayed waveguide > grating (AWG)? > > Yours > > Cristina > |
|
From: Cristina F. <cri...@os...> - 2013-10-10 10:07:52
|
Dear I would like help me to using camfr in my research arrayed waveguide grating (AWG)? Yours Cristina |