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.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

Default S-parameter definition setting in HFSS: ‘traveling’ (“Generalized” in HFSS)

to_meters(d[, unit, v_g])

Translate various units of distance into meters.