MCPcopy Index your code

hub / github.com/MagedMohamedTurk/Turbomachinery-Rotors-Balancing / functions

Functions105 in github.com/MagedMohamedTurk/Turbomachinery-Rotors-Balancing

↓ 41 callersMethodadd
Method to add new values for Alpha instance either the direct_matrix is needed or ALL of (A, B, U) Args: direct_m
src/hsbalance/CI_matrix.py:33
↓ 13 callersMethodadd
Method to add a new condition Args: alpha: Alpha class instance A: Initial vibration column array -> numpy ar
src/hsbalance/CI_matrix.py:210
↓ 13 callersMethodsolve
solving the LMI model returns solution matrix W
src/hsbalance/model.py:404
↓ 9 callersMethodinfo
(self)
src/hsbalance/model.py:290
↓ 9 callersMethodrmse
Returns the root mean squares from tools module
src/hsbalance/model.py:75
↓ 6 callersFunctionget_tests_from_yaml
Collects test_cases data from config.yaml file :function: function name -> str :returns: tests -> list of tuples (input, expected)
test/test_tools.py:12
↓ 5 callersMethodexpected_residual_vibration
Returns the residual_vibration from tools module
src/hsbalance/model.py:70
↓ 5 callersFunctionu
returns column vector by index i in alpha_arranged_by_column_norm
src/hsbalance/tools.py:121
↓ 4 callersFunctionCall_Split
(W)
Rotor_Balance_module/Rotor_Balancing.py:516
↓ 4 callersMethodcreate_split
Factory method to create a split instance
src/hsbalance/model.py:80
↓ 4 callersFunctionerror
(x)
Rotor_Balance_module/Rotor_Balancing.py:374
↓ 4 callersFunctionprnt
(W)
Rotor_Balance_module/Rotor_Balancing.py:388
↓ 4 callersMethodsplit_setup
Split method to determine the optimized splitted weight over available holes and with some availabe weight types
src/hsbalance/model.py:98
↓ 4 callersMethodsplit_solve
Mehtod to solve the splitting problem function takes the weight_available_matrix of the split instance and find t
src/hsbalance/model.py:156
↓ 3 callersMethodinfo
return generator with the strings to be printed
src/hsbalance/tools.py:170
↓ 3 callersMethodload
Method to load influence coefficient value
src/hsbalance/CI_matrix.py:171
↓ 3 callersMethodsolve
Method to solve the model Args: solver:'OLE' Ordinary Least Squares method 'Huber': Uses Huber smoother to do
src/hsbalance/model.py:316
↓ 2 callersFunctionPHASE
(x)
Rotor_Balance_module/Rotor_Balancing.py:382
↓ 2 callersMethod__init__
Args: A: Initial vibration vector -> np.ndarray alpha: Instance of Alpha class critical_planes: set of c
src/hsbalance/model.py:386
↓ 2 callersMethodcheck
Method to check the alpha value * check the symmetrical of the matrix (check for square matrix only, for square matri
src/hsbalance/CI_matrix.py:94
↓ 2 callersFunctiondirectmat
()
Rotor_Balance_module/Rotor_Balancing.py:266
↓ 2 callersMethoderror
Method to determine different ways of error in the splitting. Args: Instance of split model o
src/hsbalance/model.py:215
↓ 2 callersFunctionget_dim
()
Rotor_Balance_module/Rotor_Balancing.py:31
↓ 2 callersFunctionintial
()
Rotor_Balance_module/Rotor_Balancing.py:46
↓ 2 callersFunctionnormalized
Normalize vector = vector / norm(vector) Arg: vector -> complex of vector returns: normalized vector
src/hsbalance/tools.py:127
↓ 2 callersFunctionprintmat
(Z)
Rotor_Balance_module/Rotor_Balancing.py:290
↓ 2 callersMethodupdate
Method to override the model solution with the split solution for the balancing plane. confirm: Boolean= False: t
src/hsbalance/model.py:241
↓ 1 callersFunctionALPHA_MAT
()
Rotor_Balance_module/Rotor_Balancing.py:205
↓ 1 callersFunctionLMI
()
Rotor_Balance_module/Rotor_Balancing.py:611
↓ 1 callersFunctionSplit
(W)
Rotor_Balance_module/Rotor_Balancing.py:404
↓ 1 callersMethod_info
Method to summarize the results for alpha. return generator of tuples(title:str, item)
src/hsbalance/CI_matrix.py:128
↓ 1 callersMethod_info
Method to summarize the results for condition.
src/hsbalance/CI_matrix.py:236
↓ 1 callersMethod_info
Method to summarize the results for Model.
src/hsbalance/model.py:261
↓ 1 callersFunctionconvert_cart_math
TODO: inverse of convert_math_cart :complex: TODO :returns: TODO
src/hsbalance/tools.py:56
↓ 1 callersFunctionconvert_math_cart
docs: Convert from polar mathematical expression to cartesian. :inputs: str: mathematical expression for polar number in form of
src/hsbalance/tools.py:41
↓ 1 callersFunctionconvert_to_cartesian
docs: Convert number from polar form to cartesian complex number. :inputs: polar: Complex number in polar form (modulus, phase in degrees
src/hsbalance/tools.py:28
↓ 1 callersFunctionconvert_to_polar
docs: Convert complex number in the cartesian form into polar form. :inputs: cart: Complex number in cartesian number ex. 12+23
src/hsbalance/tools.py:13
↓ 1 callersFunctionget_B
()
Rotor_Balance_module/Rotor_Balancing.py:114
↓ 1 callersFunctionget_H_angles
()
Rotor_Balance_module/Rotor_Balancing.py:415
↓ 1 callersFunctionget_List
(Critical_Plane,K,L)
Rotor_Balance_module/Rotor_Balancing.py:626
↓ 1 callersFunctionget_W_tpes
()
Rotor_Balance_module/Rotor_Balancing.py:438
↓ 1 callersMethodload
Method to load condition instance.
src/hsbalance/CI_matrix.py:271
↓ 1 callersFunctionloadmat
()
Rotor_Balance_module/Rotor_Balancing.py:245
↓ 1 callersMethodresults
Method to print comprehensive results of the solution transfer the numpy array to non-zeros DataFrame Args:
src/hsbalance/model.py:202
↓ 1 callersMethodsave
Method to save influence coefficient values
src/hsbalance/CI_matrix.py:162
↓ 1 callersMethodsave
Method to save condition instance.
src/hsbalance/CI_matrix.py:260
↓ 1 callersFunctionsavemat
()
Rotor_Balance_module/Rotor_Balancing.py:355
↓ 1 callersFunctionslowroll
()
Rotor_Balance_module/Rotor_Balancing.py:72
↓ 1 callersMethodsolve
Method to solve the Minmax model
src/hsbalance/model.py:357
↓ 1 callersFunctiontest_performance
(n)
test/test_model.py:216
Method__init__
Instantiate an instance of Alpha name: optional name of Alpha
src/hsbalance/CI_matrix.py:25
Method__init__
Instantiate a conditions instance that will encapsulate all model speeds and loads name: optional name of Alpha
src/hsbalance/CI_matrix.py:203
Method__init__
Args: info_parameters generator of tuple(name, parm) from _info method level: level for nested appearance
src/hsbalance/tools.py:161
Method__init__
Instantiate the model Args: A: Initial vibration vector -> np.ndarray ALPHA: Influence coefficient matrix -> class Alpha
src/hsbalance/model.py:13
Method__init__
Enable accessing outer class variables args: model_instance: _Model class
src/hsbalance/model.py:90
Method__init__
Instantiate the model Args: A: Initial vibration vector -> np.ndarray ALPHA: Influence coefficient matrix -> class Alpha
src/hsbalance/model.py:303
Method__init__
Instantiate the model Args: A: Initial vibration vector -> np.ndarray alpha: instance of Alpha class weig
src/hsbalance/model.py:346
Method__repr__
Method to print out alpha value
src/hsbalance/CI_matrix.py:154
Method__repr__
Method to print out condition value
src/hsbalance/CI_matrix.py:250
Functionconvert_matrix_to_cart
docs: Convert influence coeffecient matrix ALPHA from mathematical expression form to cartesian form. :ALPHA_math: list of lists with po
src/hsbalance/tools.py:67
Functionconvert_matrix_to_math
inverse of convert_matrix_to_cart
src/hsbalance/tools.py:81
Functionill_condition
(alpha)
src/hsbalance/tools.py:112
Functionm
tests for various matrix sizes for n = 1000 it took around 5 minutes on my machine
test/test_WLS.py:20
Functionn
tests for various matrix sizes for n = 1000 it took around 5 minutes on my machine
test/test_WLS.py:12
Functionn
tests for various matrix sizes for n = 1000 it took around 5 minutes on my machine
test/test_model.py:60
Functionresidual_vibration
Calculate the residual vibration between ALPHA matrix and solution W with intial vibration A Args: ALPHA : Influence coefficient
src/hsbalance/tools.py:99
Functionrmse
Calculate the root mean square error for residual_vibration column matrix subtract each residual vibration from zero and taking the square ro
src/hsbalance/tools.py:88
Methodshape
returns shape of Influence coefficient matrix (no. Measuring Points, no. Balancing Planes)
src/hsbalance/CI_matrix.py:181
Methodsolve
Solve the problem and return W which is row vector of balancing weights
src/hsbalance/model.py:63
Functiontest_A
Creating alpha instance
test/test_WLS.py:39
Functiontest_A
Creating alpha instance to test throwing faults
test/test_model.py:26
Functiontest_ALPHA_direct
Pytest function to test instantiate Alpha from direct_matrix Inputs: param, expected : from config.yaml file
test/test_ALPHA.py:22
Functiontest_ALPHA_from_matrices
Function to test instantiating Alpha class from matrices param, expected : from config.yaml file
test/test_ALPHA.py:42
Functiontest_A_dim
Test the dimension of A to be 2x1
test/test_model.py:43
Functiontest_Condition
(test_A, test_alpha)
test/test_model.py:109
Functiontest_Condition_save_load
(test_A, test_alpha)
test/test_model.py:201
Functiontest_LMI
Testing insantiate Least square model and test it against test cases
test/test_LMI.py:19
Functiontest_Min_max
Testing instantiate Min_Max model and test it against test cases
test/test_minmax.py:18
Functiontest_WLS
Testing instantiate LMI model and test it against test cases
test/test_LSE.py:19
Functiontest_alpha
Creating alpha instance
test/test_WLS.py:28
Functiontest_alpha
Creating alpha instance to test throwing faults
test/test_model.py:34
Functiontest_alpha
creating alpha instance to test throwing faults
test/test_ALPHA.py:61
Functiontest_alpha_check
Test raising symmetric matrix warning
test/test_ALPHA.py:67
Functiontest_alpha_dim
Check raising error due to improper dimension of matrix
test/test_ALPHA.py:94
Functiontest_alpha_ill
Test ill conditioned planes
test/test_ALPHA.py:75
Functiontest_alpha_save_load
(test_alpha)
test/test_ALPHA.py:158
Functiontest_alpha_shape
(test_alpha)
test/test_ALPHA.py:131
Functiontest_big_A
Creating alpha instance to test throwing faults
test/test_model.py:79
Functiontest_big_alpha
Creating alpha instance to test throwing faults
test/test_model.py:68
Functiontest_big_matrix_LSQ
Testing the perfromance of model
test/test_model.py:97
Functiontest_convert_cart_math
(param, expected)
test/test_tools.py:133
Functiontest_convert_math_cart
(param, expected)
test/test_tools.py:78
Functiontest_convert_matrix_to_cart
(param, expected)
test/test_tools.py:95
Functiontest_convert_to_cartesian
(param, expected)
test/test_tools.py:61
Functiontest_convert_to_polar
(param, expected)
test/test_tools.py:44
Functiontest_direct_matrix_dim
Check raising error due to improper dimension of matrix
test/test_ALPHA.py:86
Functiontest_faults
()
test/test_model.py:21
Functiontest_info
()
test/test_ALPHA.py:136
Functiontest_info_model
()
test/test_model.py:164
Functiontest_matrix_WLS
Testing the performance of model
test/test_WLS.py:60
next →1–100 of 105, ranked by callers