PyREx

pyrex.signals.ThermalNoise.set_buffers

ThermalNoise.set_buffers(leading=None, trailing=None, force=False)

Set leading and trailing buffers used in calculation of signal values.

Parameters
leadingfloat or None

Leading buffer time (s).

trailingfloat or None

Trailing buffer time (s).

forceboolean

Whether the buffer times should be forced to the given values. If False, each buffer time is set to the maximum of the current and given buffer time. If True, each buffer time is set to the given buffer time regardless of the current buffer time (unless the given value is None).

Raises
ValueError

If either buffer time is less than zero.

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation