constants (skrf.constants)
This module contains constants, numerical approximations, and unit conversions
- skrf.constants.c
Velocity of light constant (from scipy)
- skrf.constants.INF
A very very large value (1e99)
- skrf.constants.ONE
1 + epsilon where epsilon is small. Used to avoid numerical error.
- skrf.constants.ZERO
0 + epsilon where epsilon is small. Used to avoid numerical error.
- skrf.constants.LOG_OF_NEG
Very low but minus infinity value for numerical purposes.
- skrf.constants.K_BOLTZMANN
Boltzmann constant (1.38064852e-23)
- skrf.constants.S_DEFINITIONS
- S-parameter definition labels:
‘power’ for power-waves definition,
‘pseudo’ for pseudo-waves definition.
‘traveling’ corresponds to the initial implementation.
- skrf.constants.S_DEF_DEFAULT
Default S-parameter definition: ‘power’, for power-wave definition.
- skrf.constants.S_DEF_HFSS_DEFAULT = 'traveling'
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
Default ANSYS HFSS S-parameter definition: ‘traveling’
- skrf.constants.SweepTypeT
Frequency sweep type, either “lin” or “log”.
alias of
Literal[‘lin’, ‘log’]
- skrf.constants.FrequencyUnitT
“Hz”, “kHz”, “MHz”, “GHz”, “THz” (case-insensitive).
- Type:
Frequency units
Frequency units: “Hz”, “kHz”, “MHz”, “GHz”, “THz” (case-insensitive). alias of
Literal[‘Hz’, ‘kHz’, ‘MHz’, ‘GHz’, ‘THz’]
|
Translate various units of distance into meters. |