22f69764af921cdf02f07f0199ecbb64b8ad13be,trunk/SUAVE/Attributes/Aerodynamics/Fidelity_Zero.py,Fidelity_Zero,build_surrogate,#Fidelity_Zero#,127
Before Change
X_data = np.array([AoA_data]).T
// assign models
Interpolation = Aerodynamics_1d_Surrogate.Interpolation(X_data,CL_data)
//Interpolation = Fidelity_Zero.Interpolation
self.models.lift_coefficient = Interpolation
// assign to configuration
self.configuration.surrogate_models = self.models
After Change
// pack for surrogate
X_data = np.array([AoA_data]).T
X_data = np.reshape(X_data,-1)
// assign models
//Interpolation = Aerodynamics_1d_Surrogate.Interpolation(X_data,CL_data)
Interpolation = np.poly1d(np.polyfit(X_data,CL_data,1))
//Interpolation = Fidelity_Zero.Interpolation
self.models.lift_coefficient = Interpolation
// assign to configuration
self.configuration.surrogate_models = self.models
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 9
Instances
Project Name: suavecode/SUAVE
Commit Name: 22f69764af921cdf02f07f0199ecbb64b8ad13be
Time: 2014-08-11
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Attributes/Aerodynamics/Fidelity_Zero.py
Class Name: Fidelity_Zero
Method Name: build_surrogate
Project Name: suavecode/SUAVE
Commit Name: e652c1cacb432c8abf10858ba0e8eb36c5c66074
Time: 2014-08-07
Author: anilvariyar@dn0a22c294.sunet
File Name: trunk/SUAVE/Attributes/Aerodynamics/Fidelity_Zero.py
Class Name: Fidelity_Zero
Method Name: build_surrogate
Project Name: suavecode/SUAVE
Commit Name: 367663c5642d9e7016c63ea1ee652a5d58f28da8
Time: 2014-08-22
Author: timdmacdo@gmail.com
File Name: trunk/SUAVE/Attributes/Aerodynamics/Fidelity_Zero_Supersonic.py
Class Name: Fidelity_Zero_Supersonic
Method Name: build_surrogate_sub
Project Name: suavecode/SUAVE
Commit Name: 198554b31e7a393c05ac7b32afd4a47fca34e806
Time: 2014-08-07
Author: anilvariyar@dn0a22c294.sunet
File Name: trunk/SUAVE/Attributes/Aerodynamics/Fidelity_Zero.py
Class Name: Fidelity_Zero
Method Name: build_surrogate
Project Name: suavecode/SUAVE
Commit Name: 367663c5642d9e7016c63ea1ee652a5d58f28da8
Time: 2014-08-22
Author: timdmacdo@gmail.com
File Name: trunk/SUAVE/Attributes/Aerodynamics/Fidelity_Zero_Supersonic.py
Class Name: Fidelity_Zero_Supersonic
Method Name: build_surrogate_sup