    

 ## On this page

  

 

 # ComputeAmplitudes Class Reference

 Last update: 16.07.2025 

Decomposition of one or multiple random fields. [More...](class_compute_amplitudes.xhtml#details)

## <a id="pub-types" name="pub-types"></a>Public Types

enum [enum\_missing\_data\_type](class_compute_amplitudes.xhtml#af4a82e782245e02b74bdf0da297346ac) { [USE\_MEAN](class_compute_amplitudes.xhtml#af4a82e782245e02b74bdf0da297346aca1554f242c24c60d2778d7f675a6c7d7a) = 0, [INTERPOLATE](class_compute_amplitudes.xhtml#af4a82e782245e02b74bdf0da297346aca294efc1e1cce72175be5f7bce86d539f), [RECONSTRUCT](class_compute_amplitudes.xhtml#af4a82e782245e02b74bdf0da297346acae4a14e37c0374b955cfcde5b4941d927) } an enum type defining the way how missing items are interpreted [More...](class_compute_amplitudes.xhtml#af4a82e782245e02b74bdf0da297346ac)  
 ## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [check](class_compute_amplitudes.xhtml#a47c34ec1e578c2ce27cf1c5fcd0d1704) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine. [More...](#a47c34ec1e578c2ce27cf1c5fcd0d1704)  
  [compute](class_compute_amplitudes.xhtml#ab08e112d95fe611e7eb25491c354d115) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) computes random field amplitudes for all node, element and scalar data [More...](#ab08e112d95fe611e7eb25491c354d115)  
 <a id="a61c7c7471dc986aa16c35f08160fa288"></a> [ComputeAmplitudes](class_compute_amplitudes.xhtml#a61c7c7471dc986aa16c35f08160fa288) () constructor   
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

<a id="a0a142faa1cc762466b884ad3c8979f3a"></a>[DataObjectContainer](class_data_object_container.xhtml) [element\_data](class_compute_amplitudes.xhtml#a0a142faa1cc762466b884ad3c8979f3a) the data set to be analyzed   
 <a id="a4bdc72c53f6cc6fe4c45b2ed5dc621fa"></a>[enum\_missing\_data\_type](class_compute_amplitudes.xhtml#af4a82e782245e02b74bdf0da297346ac) [missing\_items](class_compute_amplitudes.xhtml#a4bdc72c53f6cc6fe4c45b2ed5dc621fa) defines how missing items (eroded elements) are treated   
 <a id="a4b3543f31398671628dd711c98a0d37e"></a>[DataObjectContainer](class_data_object_container.xhtml) [node\_data](class_compute_amplitudes.xhtml#a4b3543f31398671628dd711c98a0d37e) the data set to be analyzed   
 <a id="ade25e60bd85c8b4abd4f5b416cae0eb9"></a>bool [overwrite\_existing](class_compute_amplitudes.xhtml#ade25e60bd85c8b4abd4f5b416cae0eb9) is true if already existing output data objects will be replaced. In this case, also all depending objects of the already existing one will be deleted.   
 <a id="a0c1c80374ba4d28153ed219819d24612"></a>[DataObjectContainer](class_data_object_container.xhtml) [scalar\_data](class_compute_amplitudes.xhtml#a0c1c80374ba4d28153ed219819d24612) the data set to be analyzed   
 <a id="details" name="details"></a>## Detailed Description

Decomposition of one or multiple random fields.



## Member Enumeration Documentation

<a id="af4a82e782245e02b74bdf0da297346ac"></a>## [◆ ](#af4a82e782245e02b74bdf0da297346ac)enum\_missing\_data\_type

 enum [enum\_missing\_data\_type](class_compute_amplitudes.xhtml#af4a82e782245e02b74bdf0da297346ac)

an enum type defining the way how missing items are interpreted

Enumerator<a id="af4a82e782245e02b74bdf0da297346aca1554f242c24c60d2778d7f675a6c7d7a"></a>USE\_MEAN use mean value for missing items

<a id="af4a82e782245e02b74bdf0da297346aca294efc1e1cce72175be5f7bce86d539f"></a>INTERPOLATE use interpolated value of field object ("filled data")

<a id="af4a82e782245e02b74bdf0da297346acae4a14e37c0374b955cfcde5b4941d927"></a>RECONSTRUCT reconstruct missing item values using the random field field model (missing items will truely by ignored in the projection into subspace)





## Member Function Documentation

<a id="a47c34ec1e578c2ce27cf1c5fcd0d1704"></a>## [◆ ](#a47c34ec1e578c2ce27cf1c5fcd0d1704)check()

 check  ( [Structure](class_structure.xhtml)  *database*) 

checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine.

Parameters databasethe SoS structure 



<a id="ab08e112d95fe611e7eb25491c354d115"></a>## [◆ ](#ab08e112d95fe611e7eb25491c354d115)compute()

 compute  ( [Structure](class_structure.xhtml)  *database*) 

computes random field amplitudes for all node, element and scalar data

Parameters databasethe output object where new objects are added to