Constants#

Physical Constants#

tidy3d.constants.C_0

Speed of light in vacuum [um/s]

tidy3d.constants.HBAR

Reduced Planck constant [eV*s]

tidy3d.constants.Q_e

Fundamental charge [C]

tidy3d.constants.ETA_0

Vacuum impedance in Ohms

tidy3d.constants.EPSILON_0

Vacuum permittivity [F/um]

tidy3d.constants.MU_0

Vacuum permeability [H/um]

tidy3d.constants.K_B

Boltzmann constant [eV/K]

Tidy3D Special Constants#

tidy3d.constants.inf

Representation of infinity used within tidy3d.

Tidy3D Configuration#

tidy3d.config.Tidy3dConfig

configuration of tidy3d

Default Absorber Parameters#

tidy3d.DefaultPMLParameters

Specifies full set of parameters needed for complex, frequency-shifted PML.

tidy3d.DefaultStablePMLParameters

Specifies full set of parameters needed for complex, frequency-shifted PML.

tidy3d.DefaultAbsorberParameters

Specifies parameters common to Absorbers and PMLs.

Units#

tidy3d.constants.HERTZ

One cycle per second.

tidy3d.constants.TERAHERTZ

One trillion (10^12) cycles per second.

tidy3d.constants.SECOND

SI unit of time.

tidy3d.constants.PICOSECOND

One trillionth (10^-12) of a second.

tidy3d.constants.METER

SI unit of length.

tidy3d.constants.MICROMETER

One millionth (10^-6) of a meter.

tidy3d.constants.NANOMETER

One billionth (10^-9) of a meter.

tidy3d.constants.RADIAN

SI unit of angle.

tidy3d.constants.CONDUCTIVITY

Siemens per micrometer.

tidy3d.constants.PERMITTIVITY

Relative permittivity.

tidy3d.constants.PML_SIGMA

2 times vacuum permittivity over time differential step.

tidy3d.constants.RADPERSEC

One radian per second.

tidy3d.constants.ELECTRON_VOLT

Unit of energy.

tidy3d.constants.KELVIN

SI unit of temperature.

tidy3d.constants.PML_SIGMA

2 times vacuum permittivity over time differential step.

tidy3d.constants.CMCUBE

Cubic centimeter unit of volume.

tidy3d.constants.PERCMCUBE

Unit per centimeter cube.

tidy3d.constants.WATT

SI unit of power.

tidy3d.constants.VOLT

SI unit of electric potential.

tidy3d.constants.THERMAL_CONDUCTIVITY

Watts per (micrometer Kelvin).

tidy3d.constants.SPECIFIC_HEAT_CAPACITY

Joules per (kilogram Kelvin).

tidy3d.constants.HEAT_FLUX

Watts per square micrometer.

tidy3d.constants.VOLUMETRIC_HEAT_RATE

Watts per cube micrometer.

tidy3d.constants.HEAT_TRANSFER_COEFF

Watts per (square micrometer Kelvin).

Precision & Comparator Values#

tidy3d.constants.dp_eps

Double floating point precision.

tidy3d.constants.fp_eps

Floating point precision.

tidy3d.constants.pec_val

PEC values for mode solver

tidy3d.constants.LARGE_NUMBER

Large number used for comparing infinity.

tidy3d.constants.GLANCING_CUTOFF

if |np.pi/2 - angle_theta| < GLANCING_CUTOFF in an angled source or in mode spec, raise warning.