Defines the base class of the type ece_class.
More...
|
class(ece_class) function, pointer | ece_construct (start_path, end_path, resonance) |
| Construct a ece_class object. More...
|
|
subroutine | ece_destruct (this) |
| Deconstruct a ece_class object. More...
|
|
real(rprec) function, dimension(4) | ece_get_modeled_signal (this, a_model, sigma, last_value) |
| Calculates the modeled signal. More...
|
|
real(rprec) function, dimension(3) | ece_get_cart (this, a_model, found) |
| Calculates the signal measurement point. More...
|
|
character(len=data_name_length) function | ece_get_type (this) |
| Gets a discription of the ece type. More...
|
|
subroutine | ece_get_header (this, header) |
| Gets a discription of the model and model sigma array indices. More...
|
|
real(rprec) function | ece_get_gp_i (this, a_model, i, flags) |
| Gets the guassian process kernel for an ece signal and a position. More...
|
|
real(rprec) function | ece_get_gp_s (this, a_model, signal, flags) |
| Gets the guassian process kernel for a ece signal and a signal. More...
|
|
real(rprec) function | ece_get_gp_x (this, a_model, x_cart, flags) |
| Gets the guassian process kernel for an ece signal and a cartesian position. More...
|
|
Defines the base class of the type ece_class.
- Super Class:
- diagnostic
◆ ece_construct()
class (ece_class) function, pointer ece::ece_construct |
( |
real (rprec), dimension(3), intent(in) |
start_path, |
|
|
real (rprec), dimension(3), intent(in) |
end_path, |
|
|
real (rprec), intent(in) |
resonance |
|
) |
| |
Construct a ece_class object.
Allocates memory and initializes a ece_class object.
- Parameters
-
[in] | start_path | Starting point of an ece chord. |
[in] | end_path | Ending point of an ece chord. |
[in] | resonance | Geometric factor of the chord. |
- Returns
- A pointer to a constructed ece_class object.
◆ ece_destruct()
subroutine ece::ece_destruct |
( |
type (ece_class), intent(inout) |
this | ) |
|
Deconstruct a ece_class object.
Deallocates memory and uninitializes a ece_class object.
- Parameters
-
◆ ece_get_cart()
real (rprec) function, dimension(3) ece::ece_get_cart |
( |
class (ece_class), intent(in) |
this, |
|
|
class (model_class), pointer |
a_model, |
|
|
logical, intent(out) |
found |
|
) |
| |
Calculates the signal measurement point.
Calculates the ECE measurement point by searching along the chord for the resonance. The search criteria is provided by the ece_function.
- Parameters
-
[in] | this | A ece_class instance. |
[in] | a_model | A model instance. |
[out] | found | Flag to indicate if the resonance was found. |
- Returns
- Position in cartesian coordinates of the resonance.
◆ ece_get_gp_i()
real (rprec) function ece::ece_get_gp_i |
( |
class (ece_class), intent(in) |
this, |
|
|
class (model_class), pointer |
a_model, |
|
|
integer, intent(in) |
i, |
|
|
integer, intent(in) |
flags |
|
) |
| |
Gets the guassian process kernel for an ece signal and a position.
Calculates the guassian process kernel between the signal and the position. Temperature kernels are provided by model::model_get_gp_te.
- Parameters
-
[in] | this | A ece_class instance. |
[in] | a_model | A model instance. |
[in] | i | Index of the position for the kernel. |
[in] | flags | State flags to send to the kernel. |
- Returns
- Kernel value for the position and the signal.
◆ ece_get_gp_s()
real (rprec) function ece::ece_get_gp_s |
( |
class (ece_class), intent(in) |
this, |
|
|
class (model_class), pointer |
a_model, |
|
|
class (signal_class), pointer |
signal, |
|
|
integer, intent(in) |
flags |
|
) |
| |
Gets the guassian process kernel for a ece signal and a signal.
Calculates the guassian process kernel between the signal and a signal. Calls back to the signal module to call the other signal.
- Parameters
-
[in] | this | A ece_class instance. |
[in] | a_model | A model instance. |
[in] | signal | A signal_class instance for the second signal. |
[in] | flags | State flags to send to the kernel. |
- Returns
- Kernel value for the signal and the signal.
◆ ece_get_gp_x()
real (rprec) function ece::ece_get_gp_x |
( |
class (ece_class), intent(in) |
this, |
|
|
class (model_class), pointer |
a_model, |
|
|
real (rprec), dimension(3), intent(in) |
x_cart, |
|
|
integer, intent(in) |
flags |
|
) |
| |
Gets the guassian process kernel for an ece signal and a cartesian position.
Calculates the guassian process kernel between the signal and the position. Temperature kernels are provided by model::model_get_gp_te. This is the second signal so x_cart goes in the second position and this signal in the second.
- Parameters
-
[in] | this | A ece_class instance. |
[in] | a_model | A model instance. |
[in] | x_cart | The cartesian position of to get the kernel at. |
[in] | flags | State flags to send to the kernel. |
- Returns
- Kernel value for the signal and the signal.
◆ ece_get_header()
subroutine ece::ece_get_header |
( |
class (ece_class), intent(in) |
this, |
|
|
character (len=data_name_length), dimension(7), intent(inout) |
header |
|
) |
| |
Gets a discription of the model and model sigma array indices.
Returns a description of the array indices for use when writting output files.
- Parameters
-
[in] | this | A ece_class instance. |
[in,out] | header | Buffer arrays to write header strings to. |
- Returns
- A string describing the model and model sigma array indices.
◆ ece_get_modeled_signal()
real (rprec) function, dimension(4) ece::ece_get_modeled_signal |
( |
class (ece_class), intent(inout) |
this, |
|
|
class (model_class), pointer |
a_model, |
|
|
real (rprec), dimension(4), intent(out) |
sigma, |
|
|
real (rprec), dimension(4), intent(in) |
last_value |
|
) |
| |
Calculates the modeled signal.
Calculates the ECE signal by searching along the chord for the resonance. The search criteria is provided by the ece_function.
- Parameters
-
[in,out] | this | A ece_class instance. |
[in] | a_model | A model instance. |
[out] | sigma | The modeled sigma. |
[in] | last_value | Last good value in case the signal did not change. |
- Returns
- The model value.
◆ ece_get_type()
character (len=data_name_length) function ece::ece_get_type |
( |
class (ece_class), intent(in) |
this | ) |
|
Gets a discription of the ece type.
Returns a description of the ece type for use when writting output files.
- Parameters
-
- Returns
- A string describing the ece type.