How to use the hardware.component.resistor.Resistor.Model.get_attributes function in hardware

To help you get started, we’ve selected a few hardware examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ReliaQualAssociates / ramstk / rtk / hardware / component / resistor / variable / Wirewound.py View on Github external
def get_attributes(self):
        """
        Method to retrieve the current values of the Wirewound Variable
        resistor data model attributes.

        :return: (n_taps, piTAPS, piV)
        :rtype: tuple
        """

        _values = Resistor.get_attributes(self)

        _values = _values + (self.n_taps, self.piTAPS, self.piV)

        return _values
github ReliaQualAssociates / ramstk / rtk-RQA / rtk / hardware / component / resistor / fixed / Film.py View on Github external
def get_attributes(self):
        """
        Method to retrieve the current values of the Carbon Film network
        resistor data model attributes.

        :return: (n_resistors, piT, piNR)
        :rtype: tuple
        """

        _values = Resistor.get_attributes(self)

        _values = _values + (self.n_resistors, self.piT, self.piNR)

        return _values
github ReliaQualAssociates / ramstk / rtk / hardware / component / resistor / fixed / Film.py View on Github external
def get_attributes(self):
        """
        Method to retrieve the current values of the Carbon Film network
        resistor data model attributes.

        :return: (n_resistors, piT, piNR)
        :rtype: tuple
        """

        _values = Resistor.get_attributes(self)

        _values = _values + (self.n_resistors, self.piT, self.piNR)

        return _values
github ReliaQualAssociates / ramstk / rtk / hardware / component / resistor / variable / Composition.py View on Github external
def get_attributes(self):
        """
        Method to retrieve the current values of the Variable Composition
        resistor data model attributes.

        :return: (n_taps, piTAPS, piV)
        :rtype: tuple
        """

        _values = Resistor.get_attributes(self)

        _values = _values + (self.n_taps, self.piTAPS, self.piV)

        return _values
github ReliaQualAssociates / ramstk / rtk / hardware / component / resistor / variable / Wirewound.py View on Github external
def get_attributes(self):
        """
        Method to retrieve the current values of the Precision Wirewound
        Variable resistor data model attributes.

        :return: (n_taps, construction, piTAPS, piV, piC)
        :rtype: tuple
        """

        _values = Resistor.get_attributes(self)

        _values = _values + (self.n_taps, self.construction, self.piTAPS,
                             self.piV, self.piC)

        return _values
github ReliaQualAssociates / ramstk / rtk / hardware / component / resistor / variable / Film.py View on Github external
def get_attributes(self):
        """
        Method to retrieve the current values of the Variable Film resistor
        data model attributes.

        :return: (n_taps, specification, piTAPS, piV)
        :rtype: tuple
        """

        _values = Resistor.get_attributes(self)

        _values = _values + (self.n_taps, self.specification, self.piTAPS,
                             self.piV)

        return _values
github ReliaQualAssociates / ramstk / rtk / hardware / component / resistor / variable / Wirewound.py View on Github external
def get_attributes(self):
        """
        Method to retrieve the current values of the Power Wirewound Variable
        resistor data model attributes.

        :return: (n_taps, construction, piTAPS, piV, piC)
        :rtype: tuple
        """

        _values = Resistor.get_attributes(self)

        _values = _values + (self.n_taps, self.construction, self.piTAPS,
                             self.piV, self.piC)

        return _values
github ReliaQualAssociates / ramstk / rtk / hardware / component / resistor / variable / NonWirewound.py View on Github external
def get_attributes(self):
        """
        Method to retrieve the current values of the NonWirewound Variable
        resistor data model attributes.

        :return: (n_taps, piTAPS, piV)
        :rtype: tuple
        """

        _values = Resistor.get_attributes(self)

        _values = _values + (self.n_taps, self.piTAPS, self.piV)

        return _values