from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class RcalibrationCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("rcalibration", core, parent)
[docs]
def set(self, file: str) -> None:
"""
``MMEMory:LOAD:MCGD:RCALibration`` \n
Snippet: ``driver.applications.k17Mcgd.massMemory.load.mcgd.rcalibration.set(file = 'abc')`` \n
Loads the calibration data stored in the selected file and replaces the current data.
:param file: path and file name of the .csv file that contains the calibration data
"""
param = Conversions.value_to_quoted_str(file)
self._core.io.write(f'MMEMory:LOAD:MCGD:RCALibration {param}')