zero.noise module

Electronic noise sources

class zero.noise.ComponentNoise(function=None, component=None)[source]

Bases: zero.noise.Noise

Component noise source.

ELEMENT_TYPE = 'component'
property component_type
class zero.noise.CurrentNoise(**kwargs)[source]

Bases: zero.noise.NodeNoise

Node current noise source.

NOISE_TYPE = 'current'
property label
abstract noise_current(frequencies, **kwargs)[source]
class zero.noise.NodeNoise(node=None, **kwargs)[source]

Bases: zero.noise.Noise

Node noise source.

Parameters

node (Node) – Node associated with the noise.

ELEMENT_TYPE = 'node'
class zero.noise.Noise(function=None, component=None)[source]

Bases: zero.elements.BaseElement

Noise source.

Parameters
  • function (callable) – Callable that returns the noise associated with a specified frequency vector.

  • component (Component, optional) – Component associated with the noise. While optional, this must be set before the noise can be used in a calculation.

NOISE_TYPE = None
abstract property label
property noise_type
spectral_density(frequencies)[source]
exception zero.noise.NoiseNotFoundError(noise_description, *args, **kwargs)[source]

Bases: ValueError

class zero.noise.OpAmpCurrentNoise(**kwargs)[source]

Bases: zero.noise.CurrentNoise

property corner_frequency
property flat_noise
noise_current(frequencies)[source]
class zero.noise.OpAmpVoltageNoise(**kwargs)[source]

Bases: zero.noise.VoltageNoise

property corner_frequency
property flat_noise
noise_voltage(frequencies)[source]
class zero.noise.ResistorJohnsonNoise(**kwargs)[source]

Bases: zero.noise.VoltageNoise

Resistor Johnson-Nyquist noise source.

NOISE_TYPE = 'johnson'
property label
noise_voltage(frequencies)[source]
property resistance
class zero.noise.VoltageNoise(**kwargs)[source]

Bases: zero.noise.ComponentNoise

Component voltage noise source.

NOISE_TYPE = 'voltage'
property label
abstract noise_voltage(frequencies, **kwargs)[source]