exmecheva package
Subpackages
- exmecheva.bending package
- Submodules
- exmecheva.bending.attr_bgl module
- exmecheva.bending.bfunc_class module
- exmecheva.bending.bfunc_com module
- exmecheva.bending.bfunc_fse module
- exmecheva.bending.evaluation module
Moment_perF_func()Weight_func()YM_check_many_with_method_D()YM_check_with_method_D()YM_eva_method_A()YM_eva_method_B()YM_eva_method_C()YM_eva_method_D()YM_eva_method_D_bend_df()YM_eva_method_D_bend_df_add()YM_eva_method_D_num()YM_eva_method_D_res()YM_eva_method_E()YM_eva_method_F()YM_eva_method_G()coord_df_depo()coord_df_mean()straindf_from_curve()stress_df_from_lin()stress_perF()
- exmecheva.bending.fitting module
- exmecheva.bending.opt_mps module
- exmecheva.bending.plotting module
- Module contents
- exmecheva.common package
- Submodules
- exmecheva.common.analyze module
- exmecheva.common.eva_opt_hand module
- exmecheva.common.fitting module
- exmecheva.common.helper module
- exmecheva.common.list_ops module
- exmecheva.common.loadnsave module
- exmecheva.common.mc_char module
- exmecheva.common.mc_man module
- exmecheva.common.mc_yield module
- exmecheva.common.output module
- exmecheva.common.pd_ext module
- exmecheva.common.plotting module
- exmecheva.common.stat_ext module
CD_rep()CD_test_multi()CImax()CImin()Corr_ext()Dist_test()Dist_test_multi()Hypo_test()Hypo_test_multi()MComp_interpreter()Multi_conc()NaN_stat_outliers()agg_add_ci()coefficient_of_variation()coefficient_of_variation_woso()confidence_interval()cv()cvwoso()group_ANOVA_MComp()group_ANOVA_MComp_multi()group_Anova()meanwoso()pd_agg()pd_agg_custom()reg_stats_multi()relative_deviation()stat_box_vals()stat_outliers()stdwoso()
- Module contents
Submodules
exmecheva.Eva_ACT module
Axial compression test evaluation.
@author: MarcGebhardt
- exmecheva.Eva_ACT.ACT_single(prot_ser, paths, mfile_add='', log_scopt={'logfp': None, 'logopt': True, 'output_lvl': 1, 'printopt': False}, plt_scopt={'clear': True, 'close': True, 's_types': ['pdf'], 'save': True, 'show': True, 'tight': True})[source]
Evaluate single axial compression test measurement form protocol table and path collection. Using common options wich are overwritten by protocol variables starting with ‘OPT_’. Produce evaluated measurements, material parameters and plots and safe them as table (.csv), unstructured database (.h5) and document (.pdf), using the designation of the specimen for distinction. Procedure:
1: Read in options and presetting
2: Determining geometrical values
3: Read in measurements (conventional and optical (optinal))
- 4: Merging measurements (time offset of conventional to optical
(if available), downsampling and merging)
5: Determine evaluation space (start and end)
- 6: Evaluation (curves (stress/strain), importent points on curves,
elastic moduli (different types implemented))
7: Generating output (tables, database and plots)
- Parameters
prot_ser (pd.Series) –
Input data as pandas series with specimen information (identifier, origin, geometrical data,
assessment codes, evaluation options).
paths (pd.DataFrame) –
Path collection for in- and output paths. Needs indexes:
”opts”: Common evaluation options
”prot”: Protocol
”meas”: Conventional measured data
”dic”: Optical measured data
”out”: Output
mfile_add (string, optional) – Suffix of variants of measurements (p.E. diffferent moistures [“A”,”B”,…]). The default is ‘’.
log_scopt (dict, optional) –
Options for custom logging. Determining file path, output level (0=none, 1=normal, 2=special), logging enabled and printing enabled. The default is {‘logfp’:None, ‘output_lvl’: 1,
’logopt’:True, ‘printopt’:False}.
plt_scopt (dict, optional) –
Options for plotting. The default is {‘tight’:True, ‘show’:True,
’save’:True, ‘s_types’:[“pdf”], ‘clear’:True, ‘close’:True}.
- Raises
ValueError – Input value not correct.
NotImplementedError – Method not implemented.
- Yields
timings (pd.Series) – Timings of procedure steps.
cout (string) – Special text output for control purposes.
exmecheva.Eva_ATT module
Axial tensile test evaluation.
@author: MarcGebhardt
- exmecheva.Eva_ATT.ATT_single(prot_ser, paths, mfile_add='', log_scopt={'logfp': None, 'logopt': True, 'output_lvl': 1, 'printopt': False}, plt_scopt={'clear': True, 'close': True, 's_types': ['pdf'], 'save': True, 'show': True, 'tight': True})[source]
Evaluate single axial tensile test measurement form protocol table and path collection. Using common options wich are overwritten by protocol variables starting with ‘OPT_’. Produce evaluated measurements, material parameters and plots and safe them as table (.csv), unstructured database (.h5) and document (.pdf), using the designation of the specimen for distinction. Procedure:
1: Read in options and presetting
2: Determining geometrical values
3: Read in measurements (conventional and optical (optinal))
- 4: Merging measurements (time offset of conventional to optical
(if available), downsampling and merging)
5: Determine evaluation space (start and end)
- 6: Evaluation (curves (stress/strain), importent points on curves,
elastic moduli (different types implemented))
7: Generating output (tables, database and plots)
- Parameters
prot_ser (pd.Series) –
Input data as pandas series with specimen information (identifier, origin, geometrical data,
assessment codes, evaluation options).
paths (pd.DataFrame) –
Path collection for in- and output paths. Needs indexes:
”opts”: Common evaluation options
”prot”: Protocol
”meas”: Conventional measured data
”dic”: Optical measured data
”out”: Output
mfile_add (string, optional) – Suffix of variants of measurements (p.E. diffferent moistures [“A”,”B”,…]). The default is ‘’.
log_scopt (dict, optional) –
Options for custom logging. Determining file path, output level (0=none, 1=normal, 2=special), logging enabled and printing enabled. The default is {‘logfp’:None, ‘output_lvl’: 1,
’logopt’:True, ‘printopt’:False}.
plt_scopt (dict, optional) –
Options for plotting. The default is {‘tight’:True, ‘show’:True,
’save’:True, ‘s_types’:[“pdf”], ‘clear’:True, ‘close’:True}.
- Raises
ValueError – Input value not correct.
NotImplementedError – Method not implemented.
- Yields
timings (pd.Series) – Timings of procedure steps.
cout (string) – Special text output for control purposes.
exmecheva.Eva_TBT module
Three point bending test evaluation.
@author: MarcGebhardt
- exmecheva.Eva_TBT.TBT_single(prot_ser, paths, mfile_add='', log_scopt={'logfp': None, 'logopt': True, 'output_lvl': 1, 'printopt': False}, plt_scopt={'clear': True, 'close': True, 's_types': ['pdf'], 'save': True, 'show': True, 'tight': True})[source]
Evaluate single three point bending measurement form protocol table and path collection. Using common options wich are overwritten by protocol variables starting with ‘OPT_’. Produce evaluated measurements, material parameters and plots and safe them as table (.csv), unstructured database (.h5) and document (.pdf), using the designation of the specimen for distinction. Procedure:
1: Read in options and presetting
2: Determining geometrical values
3: Read in measurements (conventional and optical (optinal))
- 4: Merging measurements (time offset of conventional to optical
(if available), downsampling and merging)
5: Determine evaluation space (start and end)
- 6: Evaluation (curves (stress/strain), importent points on curves,
elastic moduli (different types implemented))
7: Generating output (tables, database and plots)
- Parameters
prot_ser (pd.Series) –
Input data as pandas series with specimen information (identifier, origin, geometrical data,
assessment codes, evaluation options).
paths (pd.DataFrame) –
Path collection for in- and output paths. Needs indexes:
”opts”: Common evaluation options
”prot”: Protocol
”meas”: Conventional measured data
”dic”: Optical measured data
”out”: Output
mfile_add (string, optional) – Suffix of variants of measurements (p.E. diffferent moistures [“A”,”B”,…]). The default is ‘’.
log_scopt (dict, optional) –
Options for custom logging. Determining file path, output level (0=none, 1=normal, 2=special), logging enabled and printing enabled. The default is {‘logfp’:None, ‘output_lvl’: 1,
’logopt’:True, ‘printopt’:False}.
plt_scopt (dict, optional) –
Options for plotting. The default is {‘tight’:True, ‘show’:True,
’save’:True, ‘s_types’:[“pdf”], ‘clear’:True, ‘close’:True}.
- Raises
ValueError – Input value not correct.
NotImplementedError – Method not implemented.
- Yields
timings (pd.Series) – Timings of procedure steps.
cout (string) – Special text output for control purposes.
exmecheva.eva module
Functionality for selection of evaluation (single, series or complete) and packing of HDF-file.
@author: MarcGebhardt .. todo:: - series only work with output_lvl>=1
- exmecheva.eva.selector(eva_single_func, option, combpaths, no_stats_fc, var_suffix=[''], ser='', des='', out_path='', prot_rkws={'header': 11, 'index_col': 0, 'skiprows': range(12, 13)}, log_scopt={'logfp': None, 'logopt': True, 'output_lvl': 1, 'printopt': False}, plt_scopt={'clear': True, 'close': True, 's_types': ['pdf'], 'save': True, 'show': True, 'tight': True})[source]
Selects suitable evaluation method acc. to choosen option.
- Parameters
eva_single_func (function) – Function to perform single evaluation.
option (str) –
- Evaluation option. Possible are:
’single’: Evaluate single measurement
’series’: Evaluate series of measurements (see protocol table)
’complete’: Evaluate series of series
’pack’: Pack all evaluations into single hdf-file (only results and evaluated measurement)
’pack-all’: Pack all evaluations into single hdf-file with (all results, Warning: high memory requirements!)
combpaths (pandas.DataFrame) – Combined paths for in- and output of evaluations.
no_stats_fc (list of str) – Assessment codes for excluding from evaluation (searched in protocol variable “Failure_code”).
var_suffix (list of str, optional) – Suffix of variants of measurements (p.E. different moistures [“A”,”B”,…]). The default is [“”].
ser (str, optional) – Accessor for series. Must be as index in combpaths. The default is ‘’.
des (str, optional) – Accessor for/Designation of measurement/specimen. Must be as index in combpaths. The default is ‘’.
out_path (str or Path, optional) – Additional outputpath for packed evaluation (hdf file). The default is ‘’.
prot_rkws (dict, optional) – Dictionary for reading protocol. Must be keyword ind pandas.read_excel. The default is dict(header=11, skiprows=range(12,13),index_col=0).
- Raises
NotImplementedError – Option not implemented.
- Return type
None.
- exmecheva.eva.series(eva_single_func, paths, no_stats_fc, var_suffix, prot_rkws, output_lvl=1, log_scopt={'logfp': None, 'logopt': True, 'output_lvl': 1, 'printopt': False}, plt_scopt={'clear': True, 'close': True, 's_types': ['pdf'], 'save': True, 'show': True, 'tight': True})[source]
Evaluates a series of single evaluations (one after an other).
- Parameters
eva_single_func (function) – Function to perform single evaluation.
paths (pandas.Series) –
- Paths for evaluation:
’prot’: path to protocoll excel table
’opts’: path to common options as json file
’meas’: path to measurement (conventional) file location
’dic’: path to measurement (optical) file location
’out’: path for output files
no_stats_fc (list of strings) –
No evaluation if in protocoll.Failure_code. Example: no_stats_fc = [‘A01.1’,’A01.2’,’A01.3’, ‘A02.3’,
’B01.1’,’B01.2’,’B01.3’, ‘B02.3’, ‘C01.1’,’C01.2’,’C01.3’, ‘C02.3’, ‘D01.1’,’D01.2’,’D01.3’, ‘D02.3’, ‘F01.1’,’F01.2’,’F01.3’, ‘F02.3’]
var_suffix (string) – Suffix for variant of measurement (p.E. different moistures [“A”,”B”,…]).
prot_rkws (dict) – Dictionary for reading protocol. Must be keyword ind pandas.read_excel.
output_lvl (int, optional) – Output level (0: no output, 1: only necessary, 2: all). The default is 1.
- Return type
None.