![]() |
Stellarator-Tools
|
Base class representing a gaussian process. More...
Public Member Functions | |
| procedure | set_signal (this, signal, index) |
| Set the object and coefficient for an index. | |
| procedure | set_profile (this, a_model) |
| Set the object and coefficient for an index. | |
| procedure | get_evidence (this, a_model) |
| Calculates the evidence. | |
| FINAL | gaussp_destruct (this) |
| Deconstruct a gaussp_class object. | |
Public Attributes | |
| integer | flags = model_state_all_off |
| Type descriptor of the gaussian procees type. | |
| type(signal_pointer), dimension(:), pointer | signals => null() |
| Array of signal_pointer. | |
| real(rprec) | tolerance |
| Gradient ascent convergence stop. | |
| real(rprec), dimension(:,:), pointer | kls => null() |
| Matrix of signal profile. | |
| real(rprec), dimension(:,:), pointer | kll => null() |
| Matrix of signal signal. | |
| real(rprec), dimension(:,:), pointer | work => null() |
| Work matrix for the cholesky factorization. | |
| real(rprec) | cholesky_fac |
| Positive factor to add to the diagonal entries of the matrix before factoring. | |
| integer | profile_index = -1 |
| Profile index for sxrem profiles. | |
| real(rprec), dimension(:), pointer | fpoints => null() |
| Pointer to the profile af array. | |
| type(param_recon_pointer), dimension(:), pointer | params => null() |
| Array of hyper parameters. | |
| integer | iou |
| Log file input output unit. | |
Base class representing a gaussian process.
|
final |
Deconstruct a gaussp_class object.
Deallocates memory and uninitializes a gaussp_class object.
| [in,out] | this | A gaussp_class instance. |
| procedure guassian_process::gaussp_class::get_evidence | ( | class (gaussp_class), intent(inout) | this, |
| class (model_class), pointer | a_model ) |
Calculates the evidence.
This method finds a gaussian process evidence. The matrices computed can be later used to set the profile.
| [in] | this | A gaussp_class instance. |
| [in,out] | a_model | A model instance. |
| procedure guassian_process::gaussp_class::set_profile | ( | class (gaussp_class), intent(inout) | this, |
| class (model_class), pointer | a_model ) |
Set the object and coefficient for an index.
This method uses a gaussian process to set a model using the signals pointed in the gaussp_class::signals array. Hyper parameters are determined by maximizing the evidence.
| [in] | this | A gaussp_class instance. |
| [in,out] | a_model | A model instance. |
| procedure guassian_process::gaussp_class::set_signal | ( | class (gaussp_class), intent(inout) | this, |
| class (signal_class), pointer | signal, | ||
| integer, intent(in) | index ) |
Set the object and coefficient for an index.
| [in,out] | this | A gaussp_class instance. |
| [in] | signal | A signal_class instance. |
| [in] | a | A weight for the signal |
| [in] | index | The index to place the gaussp signal. |
| integer guassian_process::gaussp_class::flags = model_state_all_off |
Type descriptor of the gaussian procees type.