Field.power_synthesize(): some clarifications needed
I'm trying to understand the intricacies of Field.power_synthesize()
and am encountering a few points that are unclear to me:
- which combinations of
real_signal
andreal_power
are allowed? Specifically, is it allowed/sensible to havereal_signal==True
andreal_power==False
? - if
self.dtype==float
, does it make sense to havereal_power==False
? In that case,local_rescaler.imag
will become zero.
Once I understand all of this better, I'd volunteer to extend the docstring, and (if necessary) add a few sanity checks to the code.