Source code for RsSmw.Implementations.Source.Noise.Impulsive.Burst

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class BurstCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("burst", core, parent)

[docs] def get_duration(self) -> float: """ ``[SOURce<HW>]:NOISe:IMPulsive:[BURSt]:DURation`` \n Snippet: ``value: float = driver.source.noise.impulsive.burst.get_duration()`` \n Queries the time during which the noise generator is active in a frame. :return: ipls_burst_duration: float Range: 0.01E-6 to 1 """ response = self._core.io.query_str('SOURce<HwInstance>:NOISe:IMPulsive:BURSt:DURation?') return Conversions.str_to_float(response)