Get the Fourier-transformed fields corresponding to the given flux object as a `FluxData`, which is just a named tuple of NumPy arrays. Note that this object is only useful for passing to `load_flux_data` below and should be considered opaque.
(self, flux)
| 3626 | load_minus_mode = load_minus_flux |
| 3627 | |
| 3628 | def get_flux_data(self, flux): |
| 3629 | """ |
| 3630 | Get the Fourier-transformed fields corresponding to the given flux object as a |
| 3631 | `FluxData`, which is just a named tuple of NumPy arrays. Note that this object is |
| 3632 | only useful for passing to `load_flux_data` below and should be considered opaque. |
| 3633 | """ |
| 3634 | return FluxData(E=self.get_dft_data(flux.E), H=self.get_dft_data(flux.H)) |
| 3635 | |
| 3636 | get_mode_data = get_flux_data |
| 3637 |