Z0-Konstante (Wellenwiderstand des Vakuums) in SciPy/NumPy verwenden
English
Deutsch
Wenn du die Z0-Konstante (Wellenwiderstand des freien Raums) in Python verwenden möchtest, verwende diesen Schnipsel:
z0_scipy.py
import scipy.constants
Z0 = scipy.constants.physical_constants['characteristic impedance of vacuum'][0]
print(Z0) # 376.73031346177066Im Gegensatz zu anderen Konstanten ist Z0 nicht direkt wie scipy.constants.pi verfügbar, sondern du musst das scipy.constants.physical_constants-Dictionary verwenden, um darauf zuzugreifen.
Check out similar posts by category:
Mathematics, Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow