ptx_from_prx# pycraf.conversions.ptx_from_prx(prx, gtx, grx, dist, freq)[source]# Transmitted power from received power. Parameters: prxQuantityReceived power, Prx [dB_W, W] gtxQuantityGain of transmitter, Gtx [dBi, dimless] grxQuantityGain of receiver, Grx [dBi, dimless] distQuantityDistance between transmitter and receiver [m] freqQuantityFrequency of radiation [Hz] Returns: ptxQuantityTransmitter power, Ptx [W] Notes Because all parameters/returned values are Astropy Quantities (see Quantity), unit conversion is automatically performed.