matan.tensile.test_module [source]

module matan.tensile.test_module

Classes

  • test — The class to menage tensile test results

  • tests — Class to manage multiple tensile_module.test objects

matan.tensile.test_module.test [source]

class test(name: str = '')

The class to menage tensile test results

This class allows to initialize the tensile test parameter of the sample class. In initialization method only name of the sample is required, though normally it is defined by sample class

Parameters

  • name : str — name of the sample

Examples

FIXME: Add docs.

Methods

  • define — Method of the tensile_test class to define actual test

matan.tensile.test_module.test.define [source]

method test.define(material_group: str, standard: str)

Method of the tensile_test class to define actual test

This method is used to define the basic parameters of tensile tests like standard as well as material group (metals, plastics etc.)

Parameters

  • material_group : str — this parameter sets the actual sample material group like plastic or metal, it is used to choose proper standard

  • standard : str — standard is an parameter to define the standard used in this method. For now only ISO527 is implemented

Examples

FIXME: Add docs.

Raises

  • ModuleNotFoundError

matan.tensile.test_module.tests [source]

class tests(name)

Bases : test

Class to manage multiple tensile_module.test objects

TODO

Parameters

  • name : str — The general name of whole test object

Examples

FIXME: Add docs.

Methods

  • define — Method of the tensile_test class to define actual test

  • add

matan.tensile.test_module.tests.add [source]

method tests.add(tensile_test=None)

Raises

  • ValueError