Using monitor data to define the spatial field profile of a source in FDTD