Constants#

Physical Constants#

tidy3d.C_0

Convert a string or number to a floating point number, if possible.

tidy3d.HBAR

Convert a string or number to a floating point number, if possible.

tidy3d.Q_e

Convert a string or number to a floating point number, if possible.

tidy3d.ETA_0

Double-precision floating-point number type, compatible with Python float and C double.

tidy3d.EPSILON_0

Convert a string or number to a floating point number, if possible.

tidy3d.MU_0

Convert a string or number to a floating point number, if possible.

tidy3d.K_B

Convert a string or number to a floating point number, if possible.

Tidy3D Special Constants#

tidy3d.inf

Convert a string or number to a floating point number, if possible.

tidy3d.PEC

Perfect electrical conductor class.

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.