Get the Fourier-transformed fields corresponding to the given `near2far` object as a `NearToFarData`, which is just a named tuple of NumPy arrays. Note that this object is only useful for passing to `load_near2far_data` below and should be considered opaque.
(self, near2far)
| 3352 | near2far.scale_dfts(-1.0) |
| 3353 | |
| 3354 | def get_near2far_data(self, near2far): |
| 3355 | """ |
| 3356 | Get the Fourier-transformed fields corresponding to the given `near2far` object as |
| 3357 | a `NearToFarData`, which is just a named tuple of NumPy arrays. Note that this |
| 3358 | object is only useful for passing to `load_near2far_data` below and should be |
| 3359 | considered opaque. |
| 3360 | """ |
| 3361 | return NearToFarData(F=self.get_dft_data(near2far.F)) |
| 3362 | |
| 3363 | def load_near2far_data(self, near2far, n2fdata): |
| 3364 | """ |
no test coverage detected