Re: [Meep-discuss] Removing source flux from add_near2far box

2020-11-09 Thread Steven G. Johnson
> On Nov 9, 2020, at 11:19 AM, Nikolaos Matthaiakakis > wrote: > I was wondering if the source related flux can be removed from a nearfield > box defined as > ... > by using sim.load_minus_flux_data(,) in a similar way as used for flux > monitors. Yes, use sim.load_minus_near2far,

[Meep-discuss] Removing source flux from add_near2far box

2020-11-09 Thread Nikolaos Matthaiakakis
Dear all, I was wondering if the source related flux can be removed from a nearfield box defined as nearfield_box = sim.add_near2far(frq_cen, dfrq, nfrq, mp.Near2FarRegion(center=mp.Vector3(x=-lxm/2),size=mp.Vector3(0,2*lym/2,2*lzm/2), weight=+1),